Elemental Intrinsic Function (Generic): Produces the cosine of x.
Syntax
Results:
The result type is the same as x.
Specific Name | Argument Type | Result Type |
---|---|---|
COSD | REAL(4) | REAL(4) |
DCOSD | REAL(8) | REAL(8) |
QCOSD 1 | REAL(16) | REAL(16) |
1 VMS and U*X |
Examples
COSD (2.0) has the value 0.9993908.
COSD (30.4) has the value 0.8625137.