suryak

August 19th, 2011, 05:13 PM

Hi!

language I'm dealing with is C.

There is a puzzle I trying to solve which needs to take very large values .. ( large that 'long long int / long double').

So, I was suggested to use gmp. well, I installed it but when I started reading documentation.. its very confusing...

To be very specific about my problem.

how do I declare variables in gmp for taking large values.

how do I print them....

just tell me how does arithmetic calculations goes with them.. same as usual or different.

Thanks

language I'm dealing with is C.

There is a puzzle I trying to solve which needs to take very large values .. ( large that 'long long int / long double').

So, I was suggested to use gmp. well, I installed it but when I started reading documentation.. its very confusing...

To be very specific about my problem.

how do I declare variables in gmp for taking large values.

how do I print them....

just tell me how does arithmetic calculations goes with them.. same as usual or different.

Thanks