final Number result = context.getTypeRegistry().convertToNumber(type1, value1);
if (result == null ) {
throw EvaluationException.getInstance(LibFormulaErrorValue.ERROR_INVALID_ARGUMENT_VALUE);
}
final double d = result.doubleValue();
return new TypeValuePair(NumberType.GENERIC_NUMBER, new BigDecimal(Math.atan(d)));
}