TAN(3f)

DESCRIPTION
TAN(X) computes the tangent of X.

STANDARD
Fortran 77 and later, for a complex argument Fortran 2008 or later

CLASS
Elemental function

SYNTAX
RESULT = TAN(X)

ARGUMENTS

X The type shall be REAL or COMPLEX.

RETURN VALUE
The return value has same type and kind 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 Standard TAN(X) REAL(4) X REAL(4) Fortran 95 and later DTAN(X) REAL(8) X REAL(8) Fortran 95 and later

SEE ALSO
ATAN

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).