Shared toom evaluation functions
Niels Möller
nisse at lysator.liu.se
Tue Nov 17 19:17:35 CET 2009
Torbjorn Granlund <tg at gmplib.org> writes:
> bodrato at mail.dm.unipi.it writes:
>
> One question: the tests in tests/mpn/toom-shared.h do compare the result
> of mpn_toomMN_mul with results from mpn_mul. This is exactly what I
> usually do, but it is safe only if toomMN is NOT integrated in mpn_mul!
>
> They should definitely use refmpn_mul. (It is automatically linked in in
> the test code.)
Do you mean refmpn_mul_basecase? I can't find any refmpn_mul. Then one
also has to also adjust number of tests or the test sizes, if you want
each test to complete in at most a second.
Regards,
/Niels
More information about the gmp-devel
mailing list