The CEILING function in MathX needs to allow a negative number argument and a positive significance. = CEILING(-11.12333, 0.03499) = -11.09183 Test within testCeiling() which should be failing: d = -11.12333; s = 0.03499; assertEquals("ceiling ", Double.NaN, MathX.ceiling(d, s)); The logic within ceiling() should be changed to: if (n>0 && s<0) { c = Double.NaN; } More info: http://www.excelfunctions.net/Excel-Ceiling-Function.html
Applied via r1810007, thanks for the suggestion.