pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
YesSets $OVERFLOW
fixed-expression
is a FIXED expression, which $FIXL treats as a FIXED expression, ignoring any implied decimal
point.
If the result cannot be represented in an unsigned 16-bit integer, $FIXL traps if overflow traps are
enabled (see Chapter 13 (page 234)); otherwise, $FIXL ignores the problem.
Example 258 $FIXL Routine
INT intnum;
FIXED fixnum := 32767F;
intnum := $FIXL (fixnum); ! Return 32,767
$FIXR
$FIXR converts its argument to a FIXED value and rounds the result.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
YesSets $OVERFLOW
expression
is an INT, INT(32), FIXED, REAL, or REAL(64) expression.
If expression is too large in magnitude to be represented by a 64-bit two’s complement integer,
$FIXR traps if overflow traps are enabled (see Chapter 13 (page 234)); otherwise, $FIXR ignores
the problem.
Nonatomic Operations 313