JavaScript Programmer’s (Web hosting packages) Reference Cross-references: ECMA 262 edition 2
JavaScript Programmer’s Reference Cross-references: ECMA 262 edition 2 section 15.8.2.3 ECMA 262 edition 3 section 15.8.2.3 Math.atan() (Function) The inverse tangent of the passed-in value. Availability: ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server 2.0 Opera 3.0 Property/method value type: Number primitive JavaScript syntax: -Math.atan(aValue) Argument list: aValue Some meaningful numeric value This function returns the arc-tangent of the argument. Special boundary conditions that affect the results are: Argument Result 0 0 minus infinity -pi/2 NaN NaN plus infinity +pi/2 The exact value yielded by this function may vary slightly from implementation to implementation due to differences in the underlying precision of the implementations, math routines, and the specific algorithm selected to evaluate this function. The result of this method is the arc-tangent of the passed-in value. The result is expressed in radians and ranges from -pi/2 to +pi/2. See also: Math object, Math.acos(), Math.asin(), Math.atan2(), Math.cos(), Math.sin(), Math.tan(), Trigonometric function Cross-references: ECMA 262 edition 2 section 15.8.2.4 ECMA 262 edition 3 section 15.8.2.4 1398