Contents | Prev | Next

7.2.65 The tan function

Description

The tan function returns the tangent of the parameter passed to it. The type of the value returned by this function is always real.

Parameter

The tan function's only parameter is a numeric expression (i.e. an expression of integral type or of real type), which is an angle in radians.

Example

   tan(pi/4)  returns  1.0

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next