


      MOD(3F)                     (UNIX 5.0)                    MOD(3F)



      NAME
           mod, amod, dmod - Fortran remaindering intrinsic functions

      SYNTAX
           integer i, j, k
           real r1, r2, r3
           double precision dp1, dp2, dp3

           k = mod(i, j)

           r3 = amod(r1, r2)
           r3 = mod(r1, r2)

           dp3 = dmod(dp1, dp2)
           dp3 = mod(dp1, dp2)

      DESCRIPTION
           Mod returns the integer remainder of its first argument
           divided by its second argument, in the real or double-
           precision type of the arguments.

           Amod and dmod return the real and double-precision whole
           number remainder of arg1 divided by arg2.

           mod works with real or double types, but the various forms
           are for programming clarity.





























      Page 1                                          (73 A2 03MT REV1)



