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 is in degrees.
- 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) X
REAL(4)
GNU Extension DCOTAND(X)
REAL(8) X
REAL(8)
GNU Extension - See also:
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-8.4.0/gfortran/COTAND.html