tan()

Returns the trigonometric tangent of an angle.

Syntax

Numeric tan()

Usage

Special cases:

  • If the value is NaN or an infinity, then the result is NaN.
  • If the value is zero, then the result is a zero with the same sign as the value.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.