Large Multiplication
numberworld.org
numberworld.org
Colin Percival, Rapid multiplication modulo the sum and difference of highly composite numbers, Mathematics of Computation, Volume 72, Number 241, Pages 387-395, 2002.
I'm not sure if you claim that the bounds proven in your paper are tight enough to be competitive, or if you simply confirm that there are slower conservative implementations that are provably correct.
I would have to write some code to confirm which is faster today -- especially if you choose rings which make the modular reduction easier -- but CPUs have typically optimized FP math more for throughout than integer math, since mostly-integer code has more unpredictable branches and less ILP than FP-heavy code.
Does anyone know more about this, which floating point algorithm is used for base conversion here?
The link in the article to github is broken, and when searching in the github repository history the code isn't well documented to tell which algorithm it is.
https://www.intel.com/content/www/us/en/docs/cpp-compiler/de...