3637383940414243444546
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); } @BIF public static ENumber sin(EObject val)
4546474849505152535455
@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); } @BIF
5556575859606162636465
@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); } @BIF
6566676869707172737475
@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); } @BIF
7576777879808182838485
@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); } @BIF
8586878889909192939495
@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); } @BIF
9596979899100101102103104105
@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); } @BIF
105106107108109110111112113114115
@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); } @BIF
115116117118119120121122123124125
@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); } @BIF
125126127128129130131132133134135
@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); } @BIF