pTAL Reference Manual (H06.03+)
Built-In Routines
HP pTAL Reference Manual—523746-005
15-38
$EFLTR
$EFLTR
$EFLTR converts its argument to a REAL(64) value and rounds the result.
expression
is an INT, INT(32), FIXED(fpoint ), REAL, or REAL(64) expression.
If a FIXED expression has a nonzero fpoint, the compiler multiplies or divides the
result by the appropriate power of ten.
$EFLTR
$EFLTR converts an expression to a REAL(64) value and rounds the result.
expression
is an INT, INT(32), FIXED(fpoint ), REAL, or REAL(64) expression.
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-26. $EFLTR Routine
REAL(64) rndnum;
FIXED(3) fixnum := 12345.678F;
rndnum := $EFLTR (fixnum); ! Return rounded REAL(64) value
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
expression( )
VST083.vsd
$EFLTR
expression( )
VST083.vsd
$EFLTR










