(
Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
| 109 | } |
| 110 | |
| 111 | private static Object acosh( |
| 112 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
| 113 | double x = ScriptRuntime.toNumber(args, 0); |
| 114 | if (!Double.isNaN(x)) { |
| 115 | return Double.valueOf(Math.log(x + Math.sqrt(x * x - 1.0))); |
| 116 | } |
| 117 | return ScriptRuntime.NaNobj; |
| 118 | } |
| 119 | |
| 120 | private static Object asin( |
| 121 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |