Possible GMP bug

Marc Glisse marc.glisse at inria.fr
Sun Jan 29 20:56:27 CET 2012


On Sat, 28 Jan 2012, Peter Harding wrote:

> count_leading_zeros wrong
>  n    =0x
>  want 0
>  got  31
> /bin/bash: line 5:  2993 Aborted                 ${dir}$tst
> FAIL: t-count_zeros

It looks like COUNT_LEADING_ZEROS_0 is defined to 0. Could you try playing 
a bit with the testcase to see where this is coming from?

-- 
Marc Glisse


More information about the gmp-bugs mailing list