58
THE INFORMATION CONTAINED HEREIN IS PROPRIETARY TO APPLANIX CORPORATION. RELEASE TO THIRD PARTIES OF THIS PUBLICATION OR OF
INFORMATION CONTAINED HEREIN IS PROHIBITED WITHOUT THE PRIOR WRITTEN CONSENT OF APPLANIX CORPORATION. APPLANIX RESERVES THE
RIGHT TO CHANGE THE SPECIFICATIONS AND INFORMATION IN THIS DOCUMENT WITHOUT NOTICE. A RECORD OF THE CHANGES MADE TO THIS
DOCUMENT IS CONTAINED IN THE REVISION HISTORY SHEET. COPYRIGHT © APPLANIX CORPORATION, 2021ALL RIGHTS RESERVED. NO PART OF
THIS PUBLICATION MAY BE REPRODUCED, STORED IN A RETRIEVAL SYSTEM OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE
PRIOR WRITTEN CONSENT OF APPLANIX CORPORATION.
The FLOAT data type is stored in the IEEE single-precision format which is 32 bits long.
The most significant bit is the sign bit, the next 8 most significant bits are the exponent
field, and the remaining 23 bits are the fraction field. The bias of the exponent is 127. The
range of single-precision format values is from 1.18 × 10–38 to 3.4 × 1038. The floating-
point number is precise to 6 decimal digits.
31 30
23 22
0
S
Exp. + Bias
Fraction
0 000 0000 0 000 0000 0000 0000 0000 0000 = 0.0
0 011 1111 1 000 0000 0000 0000 0000 0000 = 1.0
1 011 1111 1 011 0000 0000 0000 0000 0000 = -1.375
1 111 1111 1 111 1111 1111 1111 1111 1111 = NaN
The DOUBLE data type is stored in the IEEE double-precision format which is 64 bits
long. The most significant bit is the sign bit, the next 11 most significant bits are the
exponent field, and the remaining 52 bits are the fractional field. The bias of the exponent
is 1023. The range of single precision format values is from 2.23 x 10–308 to 1.8 x
10308. The floating-point number is precise to 15 decimal digits.
63 62
52 51
0
S
Exp. + Bias
Fraction
0 000 0000 0000 0000 0000 ... 0000 0000 0000 = 0.0
0 011 1111 1111 0000 0000 ... 0000 0000 0000 = 1.0
1 011 1111 1110 0110 0000 ... 0000 0000 0000 = -0.6875
1 111 1111 1111 1111 1111 ... 1111 1111 1111 = NaN