TAND
— Tangent function, degrees ¶TAND(X)
computes the tangent of X in degrees.
This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.
GNU extension, enabled with -fdec-math.
Elemental function
RESULT = TAND(X)
X | The type shall be REAL or COMPLEX . |
The return value has same type and kind as X, and its value is in degrees.
program test_tand real(8) :: x = 0.165_8 x = tand(x) end program test_tand
Name | Argument | Return type | Standard |
TAND(X) | REAL(4) X | REAL(4) | GNU extension |
DTAND(X) | REAL(8) X | REAL(8) | GNU extension |
Inverse function:
ATAND
— Arctangent function, degrees
Radians function:
TAN
— Tangent function