S
sergei.s.mikhailov
I am trying to determine what floating point number representation is
used by BMC Patrol agents (proprietary enterprise management system). I
know what the float value should be and I see the bits as they are
coming through the wire, I just can't figure out what representation is
used. It does not look like IEEE 754. Below are some example, of the
bits I see on the wire in Hex and Binary, and what I know the final
float should be.
HEX:830d4000 BIN:10000011000011010100000000000000 Should be: -2
HEX:838f7500 BIN:10000011100011110111010100000000 Should be: -2.3333
HEX:8493e000 BIN:10000100100100111110000000000000 Should be: -3
HEX:8a2c2a81 BIN:10001010001011000010101010000001 Should be -.66666
Untimately, I am looking for an algorithm that would decode the floats.
It looks like the sign bit is the msb, beyong that I am lost.
Thanks,
Sergei
used by BMC Patrol agents (proprietary enterprise management system). I
know what the float value should be and I see the bits as they are
coming through the wire, I just can't figure out what representation is
used. It does not look like IEEE 754. Below are some example, of the
bits I see on the wire in Hex and Binary, and what I know the final
float should be.
HEX:830d4000 BIN:10000011000011010100000000000000 Should be: -2
HEX:838f7500 BIN:10000011100011110111010100000000 Should be: -2.3333
HEX:8493e000 BIN:10000100100100111110000000000000 Should be: -3
HEX:8a2c2a81 BIN:10001010001011000010101010000001 Should be -.66666
Untimately, I am looking for an algorithm that would decode the floats.
It looks like the sign bit is the msb, beyong that I am lost.
Thanks,
Sergei