2 ms·
In Tarsnap I use a pair of 64-bit values, one for dollars and one for attodollars. I figure I don't mind losing a few attodollars to rounding, and I'm unlikely
by cperciva 16y ago
In Tarsnap I use a pair of 64-bit values, one for dollars and one for attodollars. I figure I don't mind losing a few attodollars to rounding, and I'm unlikely to ever have revenue exceeding 2^64 dollars.