Using Extremely Large Numbers

I would like to know how to use numbers larger than those offered by the standard data types. Currently I am limited to unsigned long which maxes out at 2^32-1. I can't just use strings because I need to to arithmetical operations with the numbers.

Update: I can now use 64 bit numbers and perform arithmetic with them. I need to take some time to learn how to use the GMP library. Thanks.
Last edited on
You can use int64_t and uint64_t.
If that's not sufficient, you'll need to use GMP:
http://gmplib.org/
Topic archived. No new replies allowed.