Next: TANH, Previous: TAN, Up: Intrinsic Procedures [Contents][Index]
TAND — Tangent function, degreesTAND(X) computes the tangent of X in degrees.
Fortran 2023
Elemental function
RESULT = TAND(X)
| X | The type shall be REAL. |
The return value has same type and kind as X.
program test_tand real(8) :: x = 45_8 x = tand(x) end program test_tand
| Name | Argument | Return type | Standard |
|---|---|---|---|
TAND(X) | REAL(4) X | REAL(4) | Fortran 2023 |
DTAND(X) | REAL(8) X | REAL(8) | GNU extension |