HP 3000 Manuals

AINT (or AINT') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

AINT (or AINT') 

AINT truncates a real number to an integer number in real representation.

Declaration 

     FUNCTION AINT(x:REAL):REAL; EXTERNAL;

Attributes 

Parameter:                A real number.

Result:                   A real number.

HP FORTRAN 77/XL:         Intrinsic function:  Y=AINT(X).

Error:                    If the argument is a NaN, there are two
                          possible actions.  If the INVALID trap is
                          enabled, the message "AINT(X): X=NaN" occurs.
                          Otherwise, the INVALID flag is set.  In either
                          case, a quiet NaN is returned.



MPE/iX 5.0 Documentation