{
double originalValue = ((BigDecimal) ((FloatingPointLiteral) expr).getValue()).doubleValue();
Double absValue = new Double(Math.ceil(originalValue));
return new FloatingPointLiteral(stmt, expr.getJavaTypeMapping(), absValue, null);
}
throw new IllegalExpressionOperationException("Math.ceil()", expr);
}
else
{
// Relay to the equivalent "ceil(expr)" function
return exprFactory.invokeMethod(stmt, null, "ceil", null, args);