Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-E9806786-F6E1-4000-803C-9D15F3DB987D
Visible to Intel only — GUID: GUID-E9806786-F6E1-4000-803C-9D15F3DB987D
COSD
Elemental Intrinsic Function (Generic): Produces the cosine of x.
result = COSD (x)
x |
(Input) Must be of type real. It must be in degrees and is treated as modulo 360. |
Results
The result type and kind are the same as x.
Specific Name |
Argument Type |
Result Type |
---|---|---|
COSD |
REAL(4) |
REAL(4) |
DCOSD |
REAL(8) |
REAL(8) |
QCOSD |
REAL(16) |
REAL(16) |
Example
COSD (2.0) has the value 0.9993908.
COSD (30.4) has the value 0.8625137.