
MCE2035: User manual
Version: 2011-05-17, rev.: 0a
Page: 10
5.2.3 IEEE754 floating point format (32 bit)
Representation of data on IEEE754 floating point format is done as follows:
Byte1 Byte2 Byte3 Byte4
bit7 bit6 bit0 bit7 bit6 bit0 bit7 bit0 bit7 bit0
S 2
7
…..…. 2
1
2
0
2
-1
……... 2
-7
2
-8
………….... 2
-15
2
-16
………..…. 2
-23
Sign Exponent Mantissa
Mantissa
Mantissa
Formula:
Value = (-1)
S
* 2
(exponent-127)
* (I+Mantissa)
Example:
Byte1 Byte2
Byte3
Byte4
0100 0000
1111 0000
0000 0000
0000 0000
Value = (-1)
0
* 2
(129-127)
* (1 + 2
-1
+ 2
-2
+ 2
-3
) = 7.5
Please note that if transfer of MSB first has been selected (default setting), the byte with
the “sign” will come first in the weight indications, and if LSB first has been selected the
byte with the “sign” will come last in the weight indications.