(
Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)
| 616 | } |
| 617 | |
| 618 | private static Object sin( |
| 619 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |
| 620 | double x = ScriptRuntime.toNumber(args, 0); |
| 621 | x = Double.isInfinite(x) ? Double.NaN : Math.sin(x); |
| 622 | return ScriptRuntime.wrapNumber(x); |
| 623 | } |
| 624 | |
| 625 | private static Object sinh( |
| 626 | Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) { |