4 #include "base/cl_sysdep.h"
12 #include "float/cl_F.h"
16 const cl_F_div_t round2 (const cl_F& x, const cl_F& y)
19 // (q,r) := round(x/y). Liefere q und x-y*q = y*r.
20 var cl_F_div_t q_r = round2(x/y);
21 var cl_I& q = q_r.quotient;
22 var cl_F& r = q_r.remainder;
23 return cl_F_div_t(q,y*r);