div_qr_1 interface
Niels Möller
nisse at lysator.liu.se
Wed Oct 23 22:06:03 CEST 2013
Torbjorn Granlund <tg at gmplib.org> writes:
> nisse at lysator.liu.se (Niels Möller) writes:
>
> These sizes aren't exercised by div_qr_1.
>
> The plain test code? Then I suppose it should be fixed...
I think t-div calls mpn_div_qr_1 for all reasonable small sizes. But
that function doesn't always call mpn_div_qr_1n_pi1, depending on
thresholds, and the up-front handling of the high quotient limb.
Separate tests for mpn_div_qr_1n_pi1 would be needed to improve
coverage.
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the gmp-devel
mailing list