4 ms·
If you could only use 32-bit data types, you can get 64-bits from using 2 integers together like a long number. So the right integer would hit the max, start ov
by reformatt 9y ago
If you could only use 32-bit data types, you can get 64-bits from using 2 integers together like a long number. So the right integer would hit the max, start over at 0, and increment the left integer. Then, using this idea you can create a class of numbers that can have however many bits you want by using more ints.
- abalone 9y agoCool, yeah, that's what I meant by partitioning, which I guess is more of a database term.