![]() |
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. |
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 |
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 [url]www.python.org[/url] For DecInt and GMPY, go to home.comcast.net/~casevh For psyco (a Just In Time compiler), go to [url]http://sourceforge.net/project/showfiles.php?group_id=41036[/url] Using an AMD Athlon MP2800+, I'm able to calculate M43 in under 7 seconds. |
Mprint : [url]http://www.apfloat.org/apfloat/[/url] :)
|
[QUOTE]Mprint : [url]http://www.apfloat.org/apfloat/[/url] :)[/QUOTE]
Merci beaucoup! :w00t: 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. |
[QUOTE=Primeinator]Merci beaucoup! :w00t: 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.[/QUOTE]
De rien :) To output the result in a text/plain file, type mprint [I]exponent[/I] > file.txt |
Into the command line? Do I just put that around the result I am figuring?
|
Suppose you wanted to print out M607 in m607.txt.
You would type "mprint 607 > m607.txt". |
All times are UTC. The time now is 04:15. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.