3334353637383940414243
@BIF static public ENumber pow(EObject o1, EObject o2) { ENumber n1 = o1.testNumber(); ENumber n2 = o2.testNumber(); double res = Math.pow(n1.doubleValue(), n2.doubleValue()); return ERT.box(res); }
4344454647484950515253
} @BIF public static ENumber sin(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return new EDouble(Math.sin(num.doubleValue())); } throw ERT.badarg(val); }
5354555657585960616263
} @BIF public static ENumber cos(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return new EDouble(Math.cos(num.doubleValue())); } throw ERT.badarg(val); }
6364656667686970717273
} @BIF public static ENumber tan(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.tan(num.doubleValue()), val); } throw ERT.badarg(val); }
7374757677787980818283
} @BIF public static ENumber asin(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.asin(num.doubleValue()), val); } throw ERT.badarg(val); }
8384858687888990919293
} @BIF public static ENumber acos(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.acos(num.doubleValue()), val); } throw ERT.badarg(val); }
93949596979899100101102103
} @BIF public static EDouble atan(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.atan(num.doubleValue()), val); } throw ERT.badarg(val); }
103104105106107108109110111112113
} @BIF public static EDouble sinh(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.sinh(num.doubleValue()), val); } throw ERT.badarg(val); }
113114115116117118119120121122123
} @BIF public static EDouble cosh(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.cosh(num.doubleValue()), val); } throw ERT.badarg(val); }
123124125126127128129130131132133
} @BIF public static EDouble tanh(EObject val) { ENumber num; if ((num = val.testNumber()) != null) { return boxIfValid(Math.tanh(num.doubleValue()), val); } throw ERT.badarg(val); }