Remainder function.
Elemental function
An INTENT(IN) argument of the same type and kind type parameter as A.
The kind type parameters can be different if the compiler option –qport=mod is specified.
Same as A.
Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|
MOD | any integer | same as argument | yes |
AMOD | default real | default real | yes |
DMOD | double precision real | double precision real | yes |
QMOD | REAL(16) | REAL(16) | yes 1 |
Note:
|
For information on alternative behavior for MOD when porting programs to XL Fortran, see the -qport compiler option in the XL Fortran Compiler Reference.