4 double drem (double, double);
10 r_mod (real
* x
, real
* y
)
16 z
= drem (xa
= *x
, ya
);
27 if ((quotient
= (double) *x
/ *y
) >= 0)
28 quotient
= floor (quotient
);
30 quotient
= -floor (-quotient
);
31 return (*x
- (*y
) * quotient
);