I can't seem to find a data type that can store integers up to length 2^64. Can anyone point me in the right direction?

Edit:

Unsigned long long int works, but it seems to not be working with the modulus on other unsigned long long ints.

Printable View

- 10-16-2008yahndata type long enough to store 2^64
I can't seem to find a data type that can store integers up to length 2^64. Can anyone point me in the right direction?

Edit:

Unsigned long long int works, but it seems to not be working with the modulus on other unsigned long long ints. - 10-16-2008Raigne
Here is a linkhttp://home.att.net/~jackklein/c/inttypes.html#limits

- 10-16-2008matsp
- 10-16-2008master5001
There is always GMP.