assertEquals("Number of arguments, ", 1, log.getFunctionName().getArgumentCount());
Function logFunction = ff.function("log", literal_1);
double good0 = Math.log(1.0);
if (Double.isNaN(good0)) {
assertTrue("log of (1.0):", Double.isNaN(((Double) logFunction
.evaluate(null)).doubleValue()));
} else {
assertEquals("log of (1.0):", (double) Math.log(1.0),
((Double) logFunction.evaluate(null)).doubleValue(),
0.00001);