(
Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
| 118 | } |
| 119 | |
| 120 | private static Object asin( |
| 121 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
| 122 | double x = ScriptRuntime.toNumber(args, 0); |
| 123 | if (!Double.isNaN(x) && -1.0 <= x && x <= 1.0) { |
| 124 | x = Math.asin(x); |
| 125 | } else { |
| 126 | x = Double.NaN; |
| 127 | } |
| 128 | return ScriptRuntime.wrapNumber(x); |
| 129 | } |
| 130 | |
| 131 | private static Object asinh( |
| 132 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
no test coverage detected