Computes the sine 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 sine of various classes of numbers, assuming that underflow does not occur.
FSIN Results
Source (ST(0)) | Destination (ST(0)) |
-inf | * |
-F | -1 to +1 |
-0 | -0 |
+0 | +0 |
+F | -1 to +1 |
+inf | * |
NaN | NaN |
F Means finite floating-point value. |
* Indicates floating-point invalid-arithmetic-operand (#IA) exception. |
FSIN: Sine (x86 Instruction Set Reference)
|