20060215, 01:36  #1 
"Kyle"
Feb 2005
Somewhere near M50..sshh!
2·3·149 Posts 
Large Digit Calculator
Can someone recommend a program that will run on Windows XP that can multiply and find the exact decimal digits of numbers the size of the recent Mersenne primes? I've done some looking on Google but haven't found anything yet.
Thanks. 
20060215, 03:18  #2 
Jun 2003
11000101011_{2} Posts 
There is no such program in the market. You will have to write one for your self. You should use the GMP library or look into the code of prime95.
Citrix Last fiddled with by Citrix on 20060215 at 03:20 
20060215, 06:20  #3 
Dec 2005
23 Posts 
If you are willing to use the Python programming language, I wrote a libary called DecInt specifically designed to calculate very large numbers in exact decimal format. It will use GMP if GMPY (GMP for Python) is available.
For Python, go to www.python.org For DecInt and GMPY, go to home.comcast.net/~casevh For psyco (a Just In Time compiler), go to http://sourceforge.net/project/showf...group_id=41036 Using an AMD Athlon MP2800+, I'm able to calculate M43 in under 7 seconds. 
20060215, 22:41  #4 
Oct 2005
Fribourg, Switzerlan
2^{2}·3^{2}·7 Posts 
Mprint : http://www.apfloat.org/apfloat/ :)

20060216, 05:19  #5  
"Kyle"
Feb 2005
Somewhere near M50..sshh!
2·3·149 Posts 
Quote:
Last fiddled with by Primeinator on 20060216 at 05:20 

20060216, 12:18  #6  
Oct 2005
Fribourg, Switzerlan
2^{2}×3^{2}×7 Posts 
Quote:
To output the result in a text/plain file, type mprint exponent > file.txt 

20060216, 23:08  #7 
"Kyle"
Feb 2005
Somewhere near M50..sshh!
1576_{8} Posts 
Into the command line? Do I just put that around the result I am figuring?

20060216, 23:11  #8 
Bemusing Prompter
"Danny"
Dec 2002
California
3^{4}×29 Posts 
Suppose you wanted to print out M607 in m607.txt.
You would type "mprint 607 > m607.txt". 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
LL Credit Calculator  swl551  Software  0  20121204 17:49 
Bugs in apple calculator  diep  Lounge  8  20110510 21:59 
PrimeNet credit CPU efficiency calculator  James Heinrich  PrimeNet  22  20090509 19:21 
Statistical Investigation of Large Digit Mersenne Primes . . . (please don't bite me)  9021951  Math  29  20050315 16:26 
Question about ArbitraryPrecision Calculator?  Unregistered  Software  8  20050129 00:23 