Click to See Complete Forum and Search --> : how can I calculate big numbers?


agent.smith
February 29th, 2004, 02:19 PM
hi, I've found some examples of calculating bigger then 32-bits integer numbers, but there wasn't exaples of float calculations.
Can somebody help, by suppling me with link or some hint?

thanks, in advance.

Deniz
February 29th, 2004, 06:25 PM
I'm not Mr Calculamatron but maybe 64 bit int's may be a solution?

agent.smith
March 2nd, 2004, 05:56 AM
no, int64 is not a solution. i was talking about general algorithm for calculation of large numbers. something like you have two n-bit numbers and want to define the operations for them (addition, substraction, multiplication, division, etc)

Yves M
March 2nd, 2004, 08:50 AM
Have a look at the GNU MP library (http://www.swox.se/gmp/).