Possible Duplicate:
“BigInt” in C?
Hey there!
I’m calculating the Fibonacci numbers in C up to 46 using an unsigned int, but I can’t calculate F(47) because it’s long. So, is there a way to get numbers bigger than 2^32 in C?
NB: I use a 32-bit processor.
(unsigned) long long, but it’s also limited (to 2^64). If it’s not enough, you need to look for a BigInt library.