Next: COUNT, Previous: COTAN, Up: Intrinsic Procedures [Contents][Index]
COTAND — Cotangent function, degreesCOTAND(X) computes the cotangent of X in degrees. Equivalent to
COSD(x) divided by SIND(x), or 1 / TAND(x).
GNU Extension, enabled with -fdec-math.
This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.
Elemental function
RESULT = COTAND(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_cotand real(8) :: x = 0.165_8 x = cotand(x) end program test_cotand
| Name | Argument | Return type | Standard |
COTAND(X) | REAL(4) X | REAL(4) | GNU Extension |
DCOTAND(X) | REAL(8) X | REAL(8) | GNU Extension |