February 15th, 2002, 09:11 PM
datatype to handle large numbers
I am trying to code a datatype to handle decimal numbers having more than 12 digits and the related arithmetic functions. I need help on how to accept such a large value and how to store it. Any leads would be appreciated.
Thanks in advance.
February 16th, 2002, 01:18 PM
You might want to consider the GMP library, which can handle arbitrary precision arithmetic. You can find some information here
March 29th, 2002, 11:43 AM
Thanks, will work on it.