Table 6.2 Floating-Point Ranges
Type
Single-Precision
Double-Precision
Signaling non-number
H'7FFFFFFF to H'7FC00000
H'7FFFFFFF FFFFFFFF to
H'7FF80000 00000000
Quiet non-number
Positive infinity
H'7FBFFFFF to H'7F800001
H'7FF7FFFF FFFFFFFF to
H'7FF00000 00000001
H'7F800000
H'7FF00000 00000
Positive normalized
number
H'7F7FFFFF to H'00800000
H'7FEFFFFF FFFFFFFF to
H'00100000 00000000
Positive denormalized
number
H'007FFFFF to H'00000001
H'000FFFFF FFFFFFFF to
H'00000000 00000001
Positive zero
Negative zero
H'00000000
H'00000000 00000000
H'80000000 00000000
H'80000000
Negative denormalized
number
H'80000001 to H'807FFFFF
H'80000000 00000001 to
H'800FFFFF FFFFFFFF
Negative normalized
number
H'80800000 to H'FF7FFFFF
H'80100000 00000000 to
H'FFEFFFFF FFFFFFFF
Negative infinity
H'FF800000
H'FFF00000 00000000
Quiet non-number
H'FF800001 to H'FFBFFFFF
H'FFF00000 00000001 to
H'FFF7FFFF FFFFFFFF
Signaling non-number
H'FFC00000 to H'FFFFFFFF
H'FFF80000 00000000 to
H'FFFFFFFF FFFFFFFF
6.2.2
Non-Numbers (NaN)
Figure 6.3 shows the bit pattern of a non-number (NaN). A value is NaN in the following case:
•
•
•
Sign bit: Don’t care
Exponent field: All bits are 1
Fraction field: At least one bit is 1
The NaN is a signaling NaN (sNaN) if the MSB of the fraction field is 1, and a quiet NaN (qNaN)
if the MSB is 0.
Rev. 6.0, 07/02, page 163 of 986