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.
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.
Last edited by yahn; 10-16-2008 at 12:01 AM.
Here is a linkhttp://home.att.net/~jackklein/c/inttypes.html#limits
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
There is always GMP.