|
Computes the cosine of the source operand in register ST(0) and stores the result in ST(0). The source operand must be given in radians and must be within the range -2^63 to +2^63. The following table shows the results obtained when taking the cosine of various classes of numbers.
FCOS Results
| ST(0) Source | ST(0) Destination |
| -inf | * |
| -F | -1 to +1 |
| -0 | +1 |
| +0 | +1 |
| +F | -1 to +1 |
| +inf | * |
| NaN | NaN |
| NOTES: F Means finite floating-point value. |
| * Indicates floating-point invalid-arithmetic-operand (#IA) exception. |
FCOS: Cosine (x86 Instruction Set Reference)
|