[howto] read binary manually


#1

Hi All,

for those who want to read the binary value by hand,
the binary value is saved as 2*32bit value.
32bit --> I
and
32bit --> Q
And are saved one after another,
I1 Q1 I2 Q2 I3 Q3 I4 Q4 …

No we look at I1 and describe how it will be computed by hand:
For example:
BIN: 00000000 00000000 10000000 10111111
HEX: 00 00 80 BF

But the PC stores the lowest byte first and then goes to the higher
ones.
So we have to read the bytes from behind to the front:
HEX: BF 80 00 00
BIN: 10111111 10000000 00000000 00000000
This will be computed as described here,


and results in the 32bit float:
-1

Regards Markus