TAL Reference Manual
Data Representation
TAL Reference Manual—526371-001
3-12
Examples of INT (32) Numeric Constants
integer
is one or more digits. The digits allowed are:
D and %D
are suffixes that specify INT(32) constants:
Examples of INT (32) Numeric Constants
Here are examples of INT(32) numeric constants:
For readability, always specify the % in the %D hexadecimal suffix. The following
format, where a space replaces the % in the %D suffix, is allowed but not
recommended:
Storage Format
The system stores signed integers in two’s complement notation.
Decimal 0 through 9
Octal 0 through 7
Binary 0 or 1
Hexadecimal 0 through 9, A through F
Decimal D
Octal D
Binary D
Hexadecimal %D
Decimal
0D
+14769D
-327895066d
Octal
%1707254361d
-%24700000221D
Binary
%B000100101100010001010001001d
Hexadecimal
%h096228d%d
-%H99FF29%D
-%H99FF29 D
!Using space instead of %
! is not recommended