Convert Double-Precision Floating-Point Value to Single-Precision Floating-Point Value
DPSP
4-43
TMS320C67x Floating-Point Instruction Set
Notes:
1) If rounding is performed, the INEX bit is set.
2) If
src2 is SNaN, NaN_out is placed in dst and the INVAL and NAN2 bits
are set.
3) If
src2 is QNaN, NaN_out is placed in dst and the NAN2 bit is set.
4) If
src2 is a signed denormalized number, signed 0 is placed in dst and
the INEX and DEN2 bits are set.
5) If
src2 is signed infinity, the result is signed infinity and the INFO bit is set.
6) If overflow occurs, the INEX and OVER bits are set and the results are
set as follows (LFPN is the largest floating-point number):
Overflow Output Rounding Mode
Result Sign
Nearest Even
Zero
+Infinity
–Infinity
+
+infinity
+LFPN
+infinity
+LFPN
–
–infinity
–LFPN
–LFPN
–infinity
7) If underflow occurs, the INEX and UNDER bits are set and the results
are set as follows (SPFN is the smallest floating-point number):
Underflow Output Rounding Mode
Result Sign
Nearest Even
Zero
+Infinity
–Infinity
+
+0
+0
+SFPN
+0
–
–0
–0
–0
–SFPN