Rev. 1.00
22586_EDEBD
A0253-0318-1_EN
53
KBR multicomp F144-3 6DO/6RO
Example 2:
-12.55155 decimal = 0xC148D325 hex
Address
+0
+1
+2
+3
Format
SEEEEEEE
EMMMMMMM MMMMMMMM MMMMMMMM
Binary
1 1 0 0 0 0 0 1
0 1 0 0 1 0 0 0
1 1 0 1 0 0 1 1
0 0 1 0 0 1 0 1
Hex
C1
48
D3
25
Example 3:
45.354 decimal = 0x42356A7F hex
Address
+0
+1
+2
+3
Format
SEEEEEEE
EMMMMMMM MMMMMMMM MMMMMMMM
Binary
0 1 0 0 0 0 1 0
0 0 1 1 0 1 0 1
0 1 1 0 1 0 1 0
0 1 1 1 1 1 1 1
Hex
42
35
6A
7F
Exponent: 10000100 bin = 132 dec.
Exp.= 132-127=5
Mantissa: S=0
Sign=positive
01101010110101001111111 bin
Decimal point added to the first position of the mantissa
01101010110101001111111
Leading 1 in front of the decimal point
1. 01101010110101001111111
Taking the exponent into account (=5)
101101. 010110101001111111
to the left of the decimal point:
101101 bin = 25+ 23+ 22+20 =
45 dec.
To the right of the decimal point:
010110101001111111 bin =
2-2 + 2-4 + 2-5 + 2-7 + 2-9 + 2-12 + 2-13 + 2-14 + 2-15 + 2-16 + 2-17 +
2-18 = 0.3540001 dec
Final result: +45.03540001 dec.