TAL Reference Manual

Data Representation
TAL Reference Manual526371-001
3-14
Examples of FIXED Numeric Constants
Examples of FIXED Numeric Constants
Storage Format
The system stores a FIXED number in binary notation. When the system stores a
FIXED number, it scales the constant as dictated by the declaration or expression.
Scaling means the system multiplies or divides the constant by powers of 10 to move
the decimal.
For more information on scaling of FIXED values in expressions, see Section 4,
Expressions.
For more information on scaling of FIXED values in declarations, see Section 6, Simple
Variables.
REAL and REAL (64) Numeric Constants
Decimal
1200.09F
0.1234567F
239840984939873494F
-10.09F
Octal
%765235512F
Binary
%B1010111010101101010110F
Hexadecimal
%H298756%F
Representation Signed 32-bit REAL or 64-bit REAL(64) floating-point number
Range ±8.6361685550944446 * 10 -78 through
±1.15792089237316189 * 10 +77
Precision REAL—to approximately 7 significant digits
REAL(64)—to approximately 17 significant digits
VST0307.vsd
exponent
integer
-
+
.
fraction
L
E
-
+