Parameter formats, 2 parameter formats – PNI CompassPoint V2Xe User Manual
Page 11
PNI Sensor Corporation
DOC#1017814 r01
V2Xe User Manual
– May 2012
Page 9
5.2
Parameter Formats
Note: Floating-point based parameters conform to ANSI/IEEE Std 754-1985. Please refer to the
Standard for more information. PNI also recommends the user refer to the compiler’s instructions to
understand how the compiler implements floating-point format.
32 Bit Floating Point (Float32)
Shown below is the 32 bit float format in big Endian. In little Endian format, the 4
bytes are in reverse order (LSB first).
Exponent
S
Mantissa
3130
23 22
0
The value (v) is determined as, if and only if 0 < Exponent < 255): v = (-1)
S
*
2(Exponent-127) * 1.Mantissa. Zero is represented by 4 bytes of zeros.
Signed 32 Bit Integer (SInt32)
SInt32-based parameters are signed 32 bit numbers (2’s compliment). Bit 31
represents the sign of the value (0=positive, 1=negative)
msb
31
24 23
16 15
8
lsb
7
0
Big Endian
lsb
7
0 15
8 23
16
msb
31
24
Little Endian
Signed 16 Bit Integer (SInt16)
SInt16-based parameters are signed 16 bit numbers (2’s compliment). Bit 15
represents the sign of the value (0=positive, 1=negative)
Big Endian
msb
15
8
lsb
7
0
Little Endian
lsb
7
0
msb
15
8