Helpful Information
 
 
Category: C Programming
datatype to handle large numbers

Hi All,
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.

DA
:confused:

You might want to consider the GMP library, which can handle arbitrary precision arithmetic. You can find some information here (http://swox.com/gmp/)

Thanks, will work on it.

DA
:)










privacy (GDPR)