(
Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
| 98 | } |
| 99 | |
| 100 | private static Object acos( |
| 101 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
| 102 | double x = ScriptRuntime.toNumber(args, 0); |
| 103 | if (!Double.isNaN(x) && -1.0 <= x && x <= 1.0) { |
| 104 | x = Math.acos(x); |
| 105 | } else { |
| 106 | x = Double.NaN; |
| 107 | } |
| 108 | return ScriptRuntime.wrapNumber(x); |
| 109 | } |
| 110 | |
| 111 | private static Object acosh( |
| 112 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
no test coverage detected