



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information on the IEEE single and double floating-point formats, including bit patterns and their corresponding decimal values. It covers normal numbers, subnormal numbers, signed zeros, positive and negative infinities, and NaN values. The document also includes a table comparing the range and precision of different storage formats.
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Single-Format Bit Pattern Value 0
e
s^
e-
f (normal numbers) e
f 6 = 0 (at least one bit in f is nonzero)
s^
f (subnormal numbers) e
f = 0 (all bits in f are zero)
s^
0.0 (signed zero) s
e
f
(all bits in f are zero) +INF (positive infinity) s
e
f
(all bits in f are zero) -INF (negative infinity) s = u; e
f 6 = 0 (at least one bit in f is nonzero) NaN (Not-a-Number) Bit Patterns in Single-Storage Format and their IEEE Values Common Name Bit Pattern (Hex) Decimal Value
3f
maximum normal number 7f7fffff 3.40282347e+ minimum positive normal number
1.17549435e- maximum subnormal number 007fffff 1.17549421e- minimum positive subnormal number
1.40129846e-
7f Infinity −∞ ff -Infinity Not-a-Number 7fc NaN
Double-Format Bit Pattern Value 0
e
s^
e- x 1. f (normal numbers) e
f 6 = 0 (at least one bit in f is nonzero)
s^
x 0. f (subnormal numbers) e
f = 0 (all bits in f are zero)
s^
0.0 (signed zero) s
e
f
(all bits in f are zero) +INF (positive infinity) s
e
f
(all bits in f are zero) -INF (negative infinity) s = u; e
f 6 = 0 (at least one bit in f is nonzero) NaN (Not-a-Number) Bit Patterns in Double-Storage Format and their IEEE Values Common Name Bit Pattern (Hex) Decimal Value
3ff00000 00000000
max normal number 7fefffff ffffffff 1.7976931348623157e+ min positive normal number
2.2250738585072014e- max subnormal number 000fffff ffffffff 2.2250738585072009e- min positive subnormal number
4.9406564584124654e-
7ff00000 00000000 Infinity −∞ fff00000 00000000 -Infinity Not-a-Number 7ff80000 00000000 NaN