If I wanted to do arithmetic with values greater than 2^32 and did not want to use long's, how would I do that?
I can think of a scheme where I implement numbers (to whatever number of bits I wish) by using multiple variables to implement a single number:
int upper32;
int lower32;
The above 2 variables can represent a 2^64 bit value (if lower 32 overflows, I increment upper32 by one. This would require some overhead.
What are some better implementations?