home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1998 April / DPPCPRO0498.ISO / April / MathCad / SETUP / DATA.Z / mod.mxs < prev    next >
Encoding:
Text File  |  1997-06-03  |  715 b   |  21 lines

  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2.  *                                                                     *
  3.  * Copyright (c) 1997 MathSoft, Inc. All Rights Reserved.              *
  4.  *                                                                     *
  5.  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  6. /*
  7.  *  Function:  mod ( x, y )
  8.  *
  9.  *  Description:
  10.  *      mod() calculates the remainder of x divided by y.
  11.  *      mod ( x, y ) is equivilant to rem ( x, y), where
  12.  *      rem is a builtin function.
  13.  *
  14.  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  15.  
  16. function mod ( x, y );
  17.  
  18.   mod = rem (x, y);
  19.  
  20. end;
  21.