4 #include "base/cl_sysdep.h"
7 #include "cln/lfloat.h"
12 #include "float/lfloat/cl_LF.h"
16 const cl_LF_div_t floor2 (const cl_LF& x, const cl_LF& y)
19 // (q,r) := floor(x/y). Liefere q und x-y*q = y*r.
20 var cl_LF_div_t q_r = floor2(x/y);
21 var cl_I& q = q_r.quotient;
22 var cl_LF& r = q_r.remainder;
23 return cl_LF_div_t(q,y*r);