Browse Source

* Update to newly found 39th mersenne prime.

master
Richard Kreckel 23 years ago
parent
commit
81b7cab5ed
  1. 4
      examples/perfnum.cc

4
examples/perfnum.cc

@ -8,8 +8,8 @@ using namespace cln;
int main () int main ()
{ {
// previous ones were 1257787, 1398269, 2976221, 3021377
int p = 6972593;
// previous ones were 1257787, 1398269, 2976221, 3021377, 6972593
int p = 13466917;
cl_I x = (((cl_I)1 << p) - 1) << (p-1); cl_I x = (((cl_I)1 << p) - 1) << (p-1);
cout << x << endl; cout << x << endl;
} }
Loading…
Cancel
Save