Re: mpn_redc_n

2016-03-14 Thread Niels Möller
paul zimmermann writes: > at the request of Niels I re-raise the issue at > https://gmplib.org/list-archives/gmp-devel/2015-March/003945.html, > i.e., the fact that redc_1 and redc_2 do not have the same convention > than redc_n. When is a good time to try to merge my

Re: mpn_redc_n

2015-03-31 Thread Niels Möller
t...@gmplib.org writes: Niels and Marco might have some comments; they were involved in the design around this, My guess is as follows: The convention for redc_1 and redc_2 was changed for mpn_sec_powm, to get the final conditional subtraction moved out of the redc functions. redc_n didn't get

Re: mpn_redc_n

2015-03-31 Thread paul zimmermann
Niels, good. Please keep me informed of your progress. This is very interesting for GMP-ECM. I am ready to beta-test the interface and/or the code. Paul From: ni...@lysator.liu.se (Niels Möller) Date: Tue, 31 Mar 2015 09:10:34 +0200 t...@gmplib.org writes: Niels and Marco might

Re: mpn_redc_n

2015-03-30 Thread tg
paul zimmermann paul.zimmerm...@inria.fr writes: we might use mpn_redc_n in GMP-ECM, depending on tuning results wrt mpn_redc_1, mpn_redc_2, and other functions. I presume you've noticed that this function is booming out THIS IS AN INTERNAL FUNCTION WITH A MUTABLE INTERFACE