GNU Info

Info Node: (g77-295.info)Mod Intrinsic

(g77-295.info)Mod Intrinsic


Next: Modulo Intrinsic Prev: MinVal Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

Mod Intrinsic
.............

     Mod(A, P)

Mod: `INTEGER' or `REAL' function, the exact type being the result of
cross-promoting the types of all the arguments.

A: `INTEGER' or `REAL'; scalar; INTENT(IN).

P: `INTEGER' or `REAL'; scalar; INTENT(IN).

Intrinsic groups: (standard FORTRAN 77).

Description:

   Returns remainder calculated as:

     A - (INT(A / P) * P)

   P must not be zero.


automatically generated by info2www version 1.2.2.9