HP 3000 Manuals

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


Compiler Library/XL Reference Manual

AMOD (or AMOD') 

AMOD calculates a first real number modulus a second real number.

Declaration 

     FUNCTION AMOD(x,y:REAL):REAL; EXTERNAL;

Attributes 

Parameters:               Both arguments are real numbers.

Result:                   A real number.

HP FORTRAN 77/XL:         Intrinsic function:  Z=AMOD(X,Y).

Error:                    If either of the arguments is a NaN (or the
                          first argument is infinity, or the second
                          argument is zero) there are two possible
                          actions.  If the INVALID trap is enabled, the
                          message "AMOD(X,Y): ANY OF X AND Y=NaN OR
                          X=INFINITY OR Y=0.0" occurs.  Otherwise, the
                          INVALID flag is set.  In either case, a quiet
                          NaN is returned.



MPE/iX 5.0 Documentation