Browse Source

* examples/perfnum.cc: update to presumed 44th Mersenne prime.

master
Richard Kreckel 18 years ago
parent
commit
cd604868b5
  1. 4
      ChangeLog
  2. 4
      examples/perfnum.cc

4
ChangeLog

@ -1,3 +1,7 @@
2006-09-14 Richard B. Kreckel <kreckel@ginac.de>
* examples/perfnum.cc: update to presumed 44th Mersenne prime.
2006-08-15 Richard B. Kreckel <kreckel@ginac.de>
* tests/Makefile.in: MinGW support for make check

4
examples/perfnum.cc

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