I don't know what you're coding in, but my C compiler under linux supports
the 64 bit long long declaration:
long long i = 0;
I'm not sure what the endpoints are for 64 bits, but their probably more than
what you expect to need for a long time (way past trillions).
|