5 ms·
> Just consider that with 64-bit floats 0.3 + 0.6 = 8.9999999999999991. > It really took no effort at all to get a precision problem! That sure looks like ser
by ucho 11y ago
> Just consider that with 64-bit floats 0.3 + 0.6 = 8.9999999999999991.
> It really took no effort at all to get a precision problem!
That sure looks like serious precision problem :)
- mortoray 11y agoI suppose in hindsight my example doesn't look as disturbing as it's meant to. :) It's hard to show concise examples that truly show how this little bit of error eventually compounds and destabilizes a calculation.