DFIX (or DFIX') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
DFIX (or DFIX')
DFIX truncates a longreal number to an integer number.
Declaration
FUNCTION DFIX(x:LONGREAL):INTEGER; EXTERNAL;
Attributes
Parameter: A longreal number.
Result: An integer number.
HP FORTRAN 77/XL: Callable as a system intrinsic:
I = DFIX(X)
Error: If traps are enabled and if the truncated
longreal number cannot be represented in the
two words of the integer, the arithmetic trap
INTEGER OVERFLOW occurs.
MPE/iX 5.0 Documentation