Professional Documents
Culture Documents
Point
Luddy Harrison
CS433G
Spring 2007
What is represented
Real
numbers
5.6745
1.23 1019
Remember
No trancendentals
Limited range
Limited precision (number of digits)
Normalizing Numbers
In
Normalizing
means
1.001 217
0.001 2-13
1.mmmmmmm Beeee
See the previous lecture for the meaning of fixed point fractions
An implicit base B
A unsigned integer (eeee) called the exponent
That is, it is not present in the representation (bit pattern), but it is assumed to
be there when interpreting the bit pattern
Not A Number
It
Single
Double
Extended Precision
23
-1S 1.M 2E - 127
Some examples
0
0
= 0 (note that there is no implicit leading 1 here)
100
10100000
= -1 1.101 24-127 = -13/8 2-123
11111110
00000000
= 1.0 2254-127 = 1 2127
Denormalized Numbers
0
00000000
00000001
= 0.00000001 2-126
11111110
00000001
= 1.00000001 2254-127 = 1.00000001 2127
11
52
-1S 1.M 2E - 1023
Infinity
0
11111111
0
= +
11111111
0
= -
Not A Number
x
11111111
11111111
1xxxxxxx
Quiet NaN
11111111
0xxxxxxx 0
Signalling NaN