Re: Use on small mulmod_bnm1 [was: New mulmod_bknp1]

2022-05-01 Thread Marco Bodrato
Ciao Niels, for some reason I did not receive your answer. I took the text from the archive. Il gio, 21 aprile 2022 08:15 am, Niels Möller ha scritto: > Marco Bodrato writes: >> Yes, with a larger expected gain for 3, and a smaller one for 13, or 17. > > And in your table, almost all use 3, and

Re: about prime number generation

2022-05-01 Thread Marco Bodrato
Ciao Seth, Il 2022-04-30 23:39 Seth Troisi ha scritto: I worked on nth_prime(n) in a series of patches three years ago That code was very interesting. It would be nice to get rid of the double type and the function log(). The library is not using math.h and libm anywhere now. But it doesn't