INT (or INT') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
INT (or INT')
INT truncates a real number to a shortint number.
Declaration
FUNCTION INT(x:REAL):SHORTINT; EXTERNAL;
Attributes
Parameter: A representable real number in the range
[-32768.0, 32767.0]. See Chapter 1 for details
on the internal representation of real numbers.
Result: An integer number.
HP FORTRAN 77/XL: Intrinsic function: I=INT(X).
Error: If traps are enabled and if the real number is
outside the range stated, the arithmetic trap
INTEGER OVERFLOW occurs.
MPE/iX 5.0 Documentation