BIG integer data type needed.

Started by
2 comments, last by ThermoFish 22 years, 2 months ago
I am curious if anyone has anything that allows HUGE numbers to be assigned to a variable. Say around 700 digits long if necessary. I ran across the M.I.R.A.C.L routines which I must say are amazing. But does anyone have anything else out there? Basically I need something that would crunch factors for the RSA-2048 Challenge if I wanted to. http://www.rsasecurity.com/rsalabs/challenges/factoring/numbers.html Thermofish
Advertisement
Yes, its called a string. :-)

.Jay
Seriously, Have you thought about writing a class with data (arrays?) and methods to allow huge numbers, I once did it in Pascal (not OO) to get 32 bit numbers on a 16 bit compiler/computer.

,Jay
Although i havent used it before, the GMP library sounds like what you are looking for. It allows (practically) infinite lenght integers and you can set the precision of the floats. They claim that it is the fastest library out there for arbitrary precision arithmetic.

The site is http://swox.com/gmp/

btw if you are looking to join the RSA challenge you are going to need a shitload of processing power
-=- Murphy was an optimist -=-

This topic is closed to new replies.

Advertisement