Commit 6b9c5526 authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

update slightly the upper bound on double checked mersenne prime exponents


Tue May 20 02:36:47 2008  Jiri (George) Lebl <jirka@5z.com>

	* lib/number_theory/primes.gel: update slightly the upper bound on
	  double checked mersenne prime exponents to newest value



svn path=/trunk/; revision=654
parent 0990d925
Tue May 20 02:36:47 2008 Jiri (George) Lebl <jirka@5z.com>
* lib/number_theory/primes.gel: update slightly the upper bound on
double checked mersenne prime exponents to newest value
Tue May 20 00:25:10 2008 Jiri (George) Lebl <jirka@5z.com>
* src/matrixw.[ch], matop.c, src/eval.c, src/funclib.c: Optimize
......
......@@ -122,11 +122,11 @@ function IsMersennePrimeExponent(p) = (
return true;
# http://www.mersenne.org / GIMPS doublechecked everything up
# to 16,266,800
if p <= 16266800 then
# to 16,320,053
if p <= 16320053 then
return false;
error("IsMersennePrimeExponent: Number too large (known values up to: " + 16266800 + ")");
error("IsMersennePrimeExponent: Number too large (known values up to: " + 16320053 + ")");
bailout
);
protect("IsMersennePrimeExponent")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment