GMP bug

Richard Guenther rguenther at
Mon Jul 18 10:37:44 CEST 2011

On Fri, 15 Jul 2011, Torbjorn Granlund wrote:

> We have discovered a bug in mpn/generic/dcpi1_bdiv_q.c that is quite
> unpleasant.  It causes invalid computation, but with very low
> probability (for uniformly distributed random operands).  Please see
> for more information.
> This will warrant a 5.0.3 release.
> The bug was discovered by our automated tests, which use new random test
> vectors each night.

Is GMP 4.2.x also affected?


Richard Guenther <rguenther at>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

More information about the gmp-devel mailing list