Archived

This topic is now archived and is closed to further replies.

ThermoFish

BIG integer data type needed.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites