public static EDouble atan2(EObject val1, EObject val2)
{
ENumber num1, num2;
if ((num1 = val1.testNumber()) != null
&& (num2 = val2.testNumber()) != null) {
return new EDouble(Math.atan2(num1.doubleValue(), num2.doubleValue()));
}
throw ERT.badarg(val1, val2);
}