@@ -7,20 +7,13 @@ internal fun builtIn() = HashMap<String, (Double) -> Double>().apply {
77 put(" asin" , { x -> Math .asin(x) })
88 put(" acos" , { x -> Math .acos(x) })
99 put(" atan" , { x -> Math .atan(x) })
10+ put(" sinh" , { x -> Math .sinh(x) })
11+ put(" cosh" , { x -> Math .cosh(x) })
12+ put(" tanh" , { x -> Math .tanh(x) })
1013 put(" exp" , { x -> Math .exp(x) })
1114 put(" log" , { x -> Math .log(x) })
1215 put(" log10" , { x -> Math .log10(x) })
1316 put(" sqrt" , { x -> Math .sqrt(x) })
14- put(" cbrt" , { x -> Math .cbrt(x) })
15- put(" ceil" , { x -> Math .ceil(x) })
16- put(" floor" , { x -> Math .floor(x) })
17- put(" rint" , { x -> Math .rint(x) })
18- put(" abs" , { x -> Math .abs(x) })
19- put(" ulp" , { x -> Math .ulp(x) })
20- put(" signum" , { x -> Math .signum(x) })
21- put(" sinh" , { x -> Math .sinh(x) })
22- put(" cosh" , { x -> Math .cosh(x) })
23- put(" tanh" , { x -> Math .tanh(x) })
24- put(" expm1" , { x -> Math .expm1(x) })
25- put(" log1p" , { x -> Math .log1p(x) })
17+ put(" rad" , { x -> Math .toRadians(x) })
18+ put(" deg" , { x -> Math .toDegrees(x) })
2619}
0 commit comments