9.200. MODULO
9.200 MODULO — Modulo function
- Description:
-
MODULO(A,P)
computes the A modulo P. - Standard:
-
Fortran 95 and later
- Class:
-
Elemental function
- Syntax:
-
RESULT = MODULO(A, P)
- Arguments:
-
A Shall be a scalar of type INTEGER
orREAL
.P Shall be a scalar of the same type and kind as A. It shall not be zero. - Return value:
-
The type and kind of the result are those of the arguments.
- If A and P are of type
INTEGER
: MODULO(A,P)
has th
- If A and P are of type