Kevin Ryde user42 at
Wed Feb 11 09:38:58 CET 2004

Jason <jasonmoxham at> writes:
> int norm = refmpn_count_leading_zeros (dp[dsize-1])-GMP_NAIL_BITS;

Yep.  But there's more nailifications required in refmpn_sb_divrem_mn
before it can work.

Post a fix to gmp-devel if you like.  You can test with
tests/devel/try.c "./try mpn_tdiv_qr".  Not sure if that will cover
every case, but it's a good start.

More information about the gmp-bugs mailing list