9.74. COSD
9.74 COSD — Cosine function, degrees
- Description:
-
COSD(X)
computes the cosine of X in degrees.This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.
- Standard:
-
GNU Extension, enabled with -fdec-math.
- Class:
-
Elemental function
- Syntax:
-
RESULT = COSD(X)
- Arguments:
-
X The type shall be REAL
orCOMPLEX
. - Return value:
-
The return value is of the same type and kind as X. The real part of the result is in degrees. If X is of the type
REAL
, the return value lies in the