![]() |
![]() |
#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
32·281 Posts |
![]()
one step at a time.
|
![]() |
![]() |
![]() |
#3 | |
Sep 2002
Database er0rr
1110000010102 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
17C316 Posts |
![]()
An appropriate search term might be "arbitrary precision arithmetic".
|
![]() |
![]() |
![]() |
#6 |
Sep 2002
Database er0rr
2·3·599 Posts |
![]() |
![]() |
![]() |
![]() |
#7 |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
7×19×37 Posts |
![]()
More info on multiprecision multiplication at https://www.mersenneforum.org/showpo...21&postcount=7
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pentium V may have optional 64-bit "module" | GP2 | Hardware | 7 | 2003-10-02 20:27 |