bug#12350: Composites identified as primes in factor.c (when HAVE_GMP)
From:
Torbjorn Granlund
Subject:
bug#12350: Composites identified as primes in factor.c (when HAVE_GMP)
Date:
Mon, 10 Sep 2012 13:51:09 +0200
User-agent:
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix)
Torbjorn Granlund <address@hidden> writes:
We found a bug causing performance problems for numbers between 2^64 and
2^127. It could also trigger asserts with factoring numbers close to
2^127.
The new version is attached.
Another bug found, this time related to the GMP code. It would clear
out an uninitialised structure with prime proving disabled.
Here ia a fixed version: