OS X + core 2 duo + nails

David Harvey dmharvey at math.harvard.edu
Mon Jun 2 17:28:47 CEST 2008

On Jun 2, 2008, at 9:27 AM, Torbjorn Granlund wrote:

>   I'm getting a few "make check" failures for GMP 4.2.2 (unpatched,
>   direct from GMP web site) on a core 2 duo macbook, OS X 10.4.11,  
> when
>   nails are enabled. I'm not sure if this is really a bug, since nails
>   are supposed to be experimental, but nails have worked for me before
>   on other platforms so I thought I should report this.
> It turns out that mpn/generic/sqrtrem.c requires a nail with an even
> number of bits.  This is not a platform specific bug.

In t-set_si.c, line 51:


I think this might be incorrect. The value LONG_MAX should be  
represented by a single limb, not two limbs, when nails == 1.


More information about the gmp-bugs mailing list