Escolar Documentos
Profissional Documentos
Cultura Documentos
Encoding
Sign
Exponent
Exp Bias ( b )
Fraction
Decimal Range
Single
1 [31]
8 [30-23]
127
23 [22-00]
1044.85 to
1038.53
Double
1 [63]
11 [62-52]
1023
52 [51-00]
10323.3 to
10308.3
Sign
Exponent ( e )
Fraction ( f )
Description
Value
Range (Single)
Range (Double)
11..11
11..11
:
10..00
Quiet Not a
Number (indeterminate operation)
QNaN
11..11
01..11
:
00..01
Signaling Not a
Number (invalid
operation)
SNaN
11..11
00..00
+ Infinity
11..10
:
00..01
11..11
:
00..00
Positive
normalized
(2 2 ) 2
(2 2 ) 2
1. f 2
00..00
11..11
:
00..01
Positive
denormalized
0. f 21b
(1 2 ) 2
(1 2 ) 2
00.00
00..00
Positive zero
+0
00..00
00..00
Negative zero
-0
00..00
00.01
:
11..11
Negative
denormalized
1b
1 2 149
M
1 2 23 2 127
1 2 1074
M
1 2 52 2 1022
00..01
:
11.10
00..00
:
11..11
Negative
normalized
e b
2 2 23 2 126
M
2 2 23 2127
11..11
00..00
Infinity
11..11
00..01
:
01..11
Signaling Not a
Number
SNaN
11..11
10..00
:
11..11
Quiet Not a
Number
QNaN
+
23
e b
127
M
1 2 126
23
0. f 2
1. f 2
126
M
1 2 149
(
(
)
)
52
1023
M
1 2 1022
52
1022
M
1 2 1074
1 2 1022
M
2 2 52 21023
Interesting to note that half of the code space is used for numbers between 1 and 1.
The absolute precision of a number is 2eb23 = 2e 140 for singles and 2e b52 = 2e 1075 for doubles.