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