pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
NoSets $CARRY
YesSets $OVERFLOW
fixed-expression
is a FIXED expression, which $FIXD treats as a FIXED expression, ignoring any implied decimal
point.
If the result cannot be represented in a signed doubleword, $FIXD traps if overflow traps are
enabled (see Chapter 13 (page 234)); otherwise, $FIXD ignores the problem.
Example 254 $FIXD Routine
INT(32) dblnum;
FIXED fixnum := 1234F;
dblnum := $FIXD (fixnum); ! Return 1234D
$FIXED0_TO_EXT64ADDR
NOTE: 64-bit addressing functionality added to the EpTAL compiler starting with SPR
T0561H01^AAP. For more information, see Appendix E, “64-bit Addressing Functionality”
(page 531).
$FIXED0_TO_EXT64ADDR converts a FIXED value to an EXT64ADDR address.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
expression
is an expression whose value is FIXED.
$FIXEDTOASCII
$FIXEDTOASCII converts the absolute value of a FIXED value to an ASCII value.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
YesSets $OVERFLOW
310 Built-In Routines