20200805, 11:50  #1 
Jul 2014
447_{10} Posts 
module 2^p  1
Hi,
I understand the iteration sequence of the LucasLehmer test involves using module (2^p1) arithmetic. How do computers running these such a test cope with numbers with 20+ million digits? 
20200805, 13:07  #2 
"Vincent"
Apr 2010
Over the rainbow
2,683 Posts 
one step at a time.

20200805, 13:30  #3  
Sep 2002
Database er0rr
5×787 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 cachefriendly. Last fiddled with by paulunderwood on 20200805 at 13:54 

20200805, 14:58  #4  
Jul 2014
3×149 Posts 
Thanks.
Quote:
I suppose you mean for calculating the squared term? 

20200805, 15:01  #5 
Undefined
"The unspeakable one"
Jun 2006
My evil lair
2×23×137 Posts 
An appropriate search term might be "arbitrary precision arithmetic".

20200805, 15:06  #6 
Sep 2002
Database er0rr
5×787 Posts 

20200805, 22:38  #7 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
13444_{8} Posts 
More info on multiprecision multiplication at https://www.mersenneforum.org/showpo...21&postcount=7

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Pentium V may have optional 64bit "module"  GP2  Hardware  7  20031002 20:27 