TAND — Tangent function, degrees¶
- TAND(X)¶
TAND(X)
computes the tangent ofX
in degrees.- Parameters
X – The type shall be
REAL
orCOMPLEX
.- Returns
The return value has same type and kind as
X
, and its value is in degrees.
Standard:
GNU extension, enabled with
-fdec-math
.Class:
Elemental function
Syntax:
RESULT = TAND(X)
Example:
program test_tand real(8) :: x = 0.165_8 x = tand(x) end program test_tand
Specific names:
Name
Argument
Return type
Standard
TAND(X)
REAL(4) X
REAL(4)
GNU extension
DTAND(X)
REAL(8) X
REAL(8)
GNU extension
See also:
Inverse function: ATAND Radians function: TAN