3 ms·
> I can't think of a single time where I've dealt with numbers that exceed a trillion in either direction. A big one is dealing with currencies like Japanese y
by cma 5y ago
> I can't think of a single time where I've dealt with numbers that exceed a trillion in either direction.
A big one is dealing with currencies like Japanese yen in financial software.
- kstenerud 5y agoAbsolutely! But how about a quintillion? Signed 64-bit integers give you 8 quintillion in the positive integer space, and unsigned gives 16 quintillion. The question is: Will the difference between 8 and 16 quintillion matter enough to say "unsigned by default"? But currency types need to be signed anyway, so I guess that's that ;-)