TAL Reference Manual

Standard Functions
TAL Reference Manual526371-001
14-12
Usage Consideration
expression
is an INT, FIXED(0), REAL, or REAL(64) expression.
Usage Consideration
If expression is too large in magnitude to be represented by a 32-bit two’s complement
integer, $DBL sets the overflow indicator.
Example of $DBL Function
In this example, $DBL returns an INT(32) value from an INT expression:
INT i2 := %177775; !Declare variables
INT(32) b32;
b32 := $DBL (i2); !Return -3D
$DBLL Function
The $DBLL function returns an INT(32) value from two INT values.
int-expression
is an INT expression.
Usage Consideration
To form the INT(32) value, $DBLL places the first int-expression in the high-order 16
bits and the second
int-expression in the low-order 16 bits.
$DBL ( expression
)
VST1407.vsd
$DBLL
(
int-expression
)
int-expression ,
VST1408.vsd