2 ms·
>I meant arbitrary-precision, i.e. 1/3 instead of 0.333333333, is this what you mean? No, more like having in mind the precision you want and multiplying with
by coldtea 9y ago
>I meant arbitrary-precision, i.e. 1/3 instead of 0.333333333, is this what you mean?
No, more like having in mind the precision you want and multiplying with that (scaling your number, so to speak). But that's for fixed precision -- it just gives you access to decimal values. (You could emulate arbitrary precision in software too, but it would be way slower).
>You'd lose precision during the calculation operation, right?
Yes, but that's the case with FP too. You can't just use floats for financial calculations for example.