7 #include "cln/integer.h"
16 const cl_I truncate1 (const cl_I& x, const cl_I& y)
20 // (DIVIDE (abs x) (abs y)) -> q,r
21 // Falls x<0, setze r:=-r.
22 // Falls x,y verschiedene Vorzeichen haben, setze q:=-q.
24 var cl_I_div_t q_r = cl_divide(abs(x),abs(y));
25 var cl_I& q = q_r.quotient;
26 if (minusp(x) != minusp(y))