Description: |
Produces the cosine of X. | ||

Class: |
Elemental function; Generic | ||

Arguments: |
X must be of type real. It must be in degrees and is treated as modulo 360. | ||

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 | REAL(16) | REAL(16) |

**Examples**

COSD (2.0) has the value 0.9993908.

COSD (30.4) has the value 0.8625137.

Previous Page Next Page Table of Contents