COTAN
— Cotangent functionCOTAN(X)
computes the cotangent of X. Equivalent to COS(x)
divided by SIN(x)
, or 1 / TAN(x)
.
This function is for compatibility only and should be avoided in favor of
standard constructs wherever possible.
RESULT = COTAN(X)
X | The type shall be REAL or COMPLEX .
|
program test_cotan real(8) :: x = 0.165_8 x = cotan(x) end program test_cotan
Name | Argument | Return type | Standard
|
COTAN(X) | REAL(4) X | REAL(4) | GNU Extension
|
DCOTAN(X) | REAL(8) X | REAL(8) | GNU Extension
|