pTAL Reference Manual (H06.03+)
Data Representation
HP pTAL Reference Manual—523746-005
3-17
FIXED Numeric
Examples of INT(32) numeric constants:
For readability, always specify the % in the %D hexadecimal suffix to prevent the suffix
from being confused with the integer part of the constant. The following format, where
a space replaces the % in the %D suffix, is allowed but not recommended:
-%H99FF29 D
The system stores signed integers in two’s complement notation (see INT Numeric on
page 3-15).
FIXED Numeric
base
indicates a number base as follows:
The default base is decimal.
Decimal 0D
+14769D
-327895066d
Octal %1707254361d
-%24700000221D
Binary %B000100101100010001010001001d
Hexadecimal %h096228d%d
-%H99FF29%D
Representation Signed 64-bit fixed-point number
Range -9,223,372,036,854,775,808 through +9,223,372,036,854,775,807
Octal %
Binary %B
Hexadecimal %H
+
-
base
integer
. fraction
F
%F
VST005.vsd










