Next: , Previous: SRAND, Up: Intrinsic Procedures


8.101 TAN — Tangent function

Description:
TAN(X) computes the tangent of X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = TAN(X)
Arguments:

X The type shall be REAL(*).

Return value:
The return value is of type REAL(*). The kind type parameter is the same as X.
Example:
          program test_tan
            real(8) :: x = 0.165_8
            x = tan(x)
          end program test_tan
     

Specific names:

Name Argument Return type Option
DTAN(X) REAL(8) X REAL(8) f95, gnu