MCPcopy Create free account
hub / github.com/mozilla/rhino / atan

Method atan

rhino/src/main/java/org/mozilla/javascript/NativeMath.java:149–154  ·  view source on GitHub ↗
(
            Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args)

Source from the content-addressed store, hash-verified

147 }
148
149 private static Object atan(
150 Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) {
151 double x = ScriptRuntime.toNumber(args, 0);
152 x = Math.atan(x);
153 return ScriptRuntime.wrapNumber(x);
154 }
155
156 private static Object atanh(
157 Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args) {

Callers 2

dFunction · 0.80
15.8.2.4.jsFile · 0.80

Calls 2

toNumberMethod · 0.95
wrapNumberMethod · 0.95

Tested by

no test coverage detected