9.77. COTAND
9.77 COTAND — Cotangent function, degrees
- Description:
-
COTAND(X)
computes the cotangent of X in degrees. Equivalent toCOSD(x)
divided bySIND(x)
, or1 / TAND(x)
. - Standard:
-
GNU Extension, enabled with -fdec-math.
This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.
- Class:
-
Elemental function
- Syntax:
-
RESULT = COTAND(X)
- Arguments:
-
X The type shall be REAL
orCOMPLEX
. - Return value:
-
The return value has same type and kind as X, and its value