DMOD [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
DMOD
DMOD calculates a longreal number modulus a second longreal number.
Declaration
FUNCTION DMOD(VAR x,y:LONGREAL):LONGREAL; EXTERNAL;
Attributes
Parameters: Both arguments are longreal numbers.
Result: A longreal number.
HP FORTRAN 77/XL: Intrinsic function: Z=DMOD(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 "DMOD(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