![]() |
|
|
#1 |
|
Jul 2014
3·149 Posts |
Hi,
I understand the iteration sequence of the Lucas-Lehmer test involves using module (2^p-1) arithmetic. How do computers running these such a test cope with numbers with 20+ million digits? |
|
|
|
|
|
#2 |
|
Apr 2010
Over the rainbow
23×52×13 Posts |
one step at a time.
|
|
|
|
|
|
#3 | |
|
Sep 2002
Database er0rr
1110100110112 Posts |
Quote:
For multiplication you use Fast Fourier Transforms (FFT). Some of the operations can be parallelized across available cores. Then there is making things cache-friendly. Last fiddled with by paulunderwood on 2020-08-05 at 13:54 |
|
|
|
|
|
|
#4 | |
|
Jul 2014
3×149 Posts |
Thanks.
Quote:
I suppose you mean for calculating the squared term? |
|
|
|
|
|
|
#5 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
619410 Posts |
An appropriate search term might be "arbitrary precision arithmetic".
|
|
|
|
|
|
#6 |
|
Sep 2002
Database er0rr
3,739 Posts |
|
|
|
|
|
|
#7 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
2·7·383 Posts |
More info on multiprecision multiplication at https://www.mersenneforum.org/showpo...21&postcount=7
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pentium V may have optional 64-bit "module" | GP2 | Hardware | 7 | 2003-10-02 20:27 |