208 G12 OEM Board & Sensor Reference Manual
In 2, the value 1 is calculated by the following method:
1. The sign of the value is positive because the sign bit field is equal to 0.
2. The exponent field is equal to 3FF (hexadecimal). The exponent is calculated
by subtracting the bias value (3FF) from the exponent field value. The result
is 0 (decimal).
3FF - 3FF = 0
The exponent multiplier is equal to 2
0
, which is equal to 1 (decimal).
3. The fraction field is equal to .0 (binary). After adding the implicit normalized
bit, the fraction is equal to 1.0 (binary). The fraction value is equal to 2
0
(decimal), which is equal to 1 (decimal).
4. The value of the number is positive 1*1 = 1.0 (decimal).
In 2, the value 0.75 is calculated by the following method:
1. The sign of the value is positive because the sign bit field is equal to 0.
2. The exponent field is equal to 3FE (hexadecimal). The exponent is calculated
by subtracting the bias value (3FF) from the exponent field value. The result
is -1 (decimal).
3FE - 3FF = -1
3. The fraction field is equal to .1 (binary). After adding the implicit normalized
bit, the fraction is equal to 1.1 (binary). The fraction value is equal to 2
0
+ 2
-1
(decimal), which is equal to 1 + 0.5 (decimal), which is equal to 1.5 (decimal).
4. The value of the number is positive 0.5*1.5 = 0.75 (decimal).
G12RevD.book Page 208 Tuesday, April 2, 2002 4:33 PM