Re:Why does 0.1 and 0.2 = 0.30000000000000004?
by int_19h on Wednesday February 08, 2023 @05:41PM
(#34716612)
Decimal floating point is fine so long as you constrain the exponent such that delta between two consecutive valid numbers can never be greater than 1 (that is, there should never be any implicit trailing zeroes). .NET Decimal type is a good example.
[ Parent
| on HN ]
There are no comments on this comment yet.