Math.tan() (Function)

The tangent of the input argument.


ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise Server version - 2.0
Opera - 3.0
Property/method value type:Number primitive
JavaScript syntax:-Math.tan(aValue)
Argument list:aValueAn angle measured in radians

This function returns the tangent of the input argument. The argument value must be expressed in radians.

Special boundary conditions that affect the results are:


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.

See also:Math object, Math.acos(), Math.asin(), Math.atan(), Math.atan2(), Math.cos(), Math.sin(), Trigonometric function


ECMA 262 edition 2 - section -

ECMA 262 edition 3 - section -