COTAND — Cotangent function, degrees#
-
COTAND(X)#
COTAND(X)computes the cotangent ofXin degrees. Equivalent toCOSD(x)divided bySIND(x), or1 / TAND(x).- Parameters:
X – The type shall be
REALorCOMPLEX.- Returns:
The return value has same type and kind as
X, and its value is in degrees.
- 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)
- Example:
program test_cotand real(8) :: x = 0.165_8 x = cotand(x) end program test_cotand
- Specific names:
Name
Argument
Return type
Standard
COTAND(X)REAL(4) XREAL(4)GNU extension
DCOTAND(X)REAL(8) XREAL(8)GNU extension
- See also: