Vincent Lefevre vincent at
Wed Jul 20 15:28:22 UTC 2016

On 2016-07-20 15:23:24 +0200, paul zimmermann wrote:
> the attached file contains a new version (mpn_sqrtrem2_new) of mpn_sqrtrem2
> for 64-bit computers. On my computer i5-4590 it runs in about 65 cycles
> whereas the gmp-6.1.1 version runs in about 96 cycles.

But the code is wrong on 32-bit machines (you have the MPFR code to

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-devel mailing list