Dear GMP folks,
I have recently looked into GMP's longlong.h, specifically
the function __udiv_qrnnd_c.
It appears to me the assert in line 1738 of Version 4.2.1
should be changed from
ASSERT ((d) != 0);
into
ASSERT ((d) >= __ll_B);
so that the resulting d1 will be nonzero.
Best regards,
Claus Fischer
--
Claus Fischer <claus.fischer clausfischer.com>
http://www.clausfischer.
com/
_______________________________________________
gmp-discuss mailing list
gmp-discuss swox.com
http://s
wox.com/mailman/listinfo/gmp-discuss
|