mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2006-02-15, 01:36   #1
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

16238 Posts
Default 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.
Primeinator is offline   Reply With Quote
Old 2006-02-15, 03:18   #2
Citrix
 
Citrix's Avatar
 
Jun 2003

1,579 Posts
Default

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 2006-02-15 at 03:20
Citrix is offline   Reply With Quote
Old 2006-02-15, 06:20   #3
casevh
 
Dec 2005

23 Posts
Default

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.
casevh is offline   Reply With Quote
Old 2006-02-15, 22:41   #4
victor
 
victor's Avatar
 
Oct 2005
Fribourg, Switzerlan

22·32·7 Posts
Default

Mprint : http://www.apfloat.org/apfloat/ :)
victor is offline   Reply With Quote
Old 2006-02-16, 05:19   #5
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

3×5×61 Posts
Default

Quote:
Mprint : http://www.apfloat.org/apfloat/ :)
Merci beaucoup! This is exactly what I was looking for. My only complaint (and this is being too picky) is that I can't set the size of the window to copy paste a result in a desirable format.

Last fiddled with by Primeinator on 2006-02-16 at 05:20
Primeinator is offline   Reply With Quote
Old 2006-02-16, 12:18   #6
victor
 
victor's Avatar
 
Oct 2005
Fribourg, Switzerlan

FC16 Posts
Default

Quote:
Originally Posted by Primeinator
Merci beaucoup! This is exactly what I was looking for. My only complaint (and this is being too picky) is that I can't set the size of the window to copy paste a result in a desirable format.
De rien :)

To output the result in a text/plain file, type
mprint exponent > file.txt
victor is offline   Reply With Quote
Old 2006-02-16, 23:08   #7
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

3·5·61 Posts
Default

Into the command line? Do I just put that around the result I am figuring?
Primeinator is offline   Reply With Quote
Old 2006-02-16, 23:11   #8
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

94816 Posts
Default

Suppose you wanted to print out M607 in m607.txt.

You would type "mprint 607 > m607.txt".
ixfd64 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LL Credit Calculator swl551 Software 0 2012-12-04 17:49
Bugs in apple calculator diep Lounge 8 2011-05-10 21:59
PrimeNet credit CPU efficiency calculator James Heinrich PrimeNet 22 2009-05-09 19:21
Statistical Investigation of Large Digit Mersenne Primes . . . (please don't bite me) 9021951 Math 29 2005-03-15 16:26
Question about Arbitrary-Precision Calculator? Unregistered Software 8 2005-01-29 00:23

All times are UTC. The time now is 02:05.

Mon Apr 12 02:05:25 UTC 2021 up 3 days, 20:46, 1 user, load averages: 1.82, 1.66, 1.64

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.