COTAND (The GNU Fortran Compiler) (original) (raw)
8.77 COTAND
— Cotangent function, degrees ¶
Synopsis:
RESULT = COTAND(X)
Description:
COTAND(X)
computes the cotangent of X in degrees. Equivalent toCOSD(x)
divided by SIND(x)
, or 1 / TAND(x)
.
Class:
Elemental function
Arguments:
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 |
Standard:
GNU extension.
This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.
See also:
Converse function:
TAND — Tangent function, degrees
Radians function:
COTAN — Cotangent function