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