Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     mod(3F)                                                   mod(3F)



     NAME
          mod, amod, dmod - FORTRAN remaindering intrinsic functions

     SYNOPSIS
          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.  amod and dmod return,
          respectively, the real and double-precision whole number
          remainder of the integer division of their two arguments.
          The generic version mod returns the data type of its
          arguments.
































     Page 1                                        (last mod. 1/14/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026