1: /*
   2:  *	"@(#)d_mod.c	1.1"
   3:  */
   4: 
   5: double d_mod(x,y)
   6: double *x, *y;
   7: {
   8: double floor(), quotient = *x / *y;
   9: if (quotient >= 0.0)
  10:     quotient = floor(quotient);
  11: else
  12:     quotient = -floor(-quotient);
  13: return(*x - (*y) * quotient );
  14: }

Defined functions

d_mod defined in line 5; never used
Last modified: 1983-05-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 553
Valid CSS Valid XHTML 1.0 Strict