Computes the square root of the source value in the ST(0) register and stores the result in ST(0).
The following table shows the results obtained when taking the square root of various classes of numbers, assuming that neither overflow nor underflow occurs.
FSQRT Results
Source (ST(0)) | Destination (ST(0)) |
-inf | * |
-F | * |
-0 | -0 |
+0 | +0 |
+F | +F |
+inf | +inf |
NaN | NaN |
F Means finite floating-point value. |
* Indicates floating-point invalid-arithmetic-operand (#IA) exception. |
|