How should floating point inaccuracies be explained and justified? – cseducators.stackexchange.com

When I first started working with floating point arithmetic, issues like the one illustrated in the sample below both frustrated and confused me: scala> (1f/3)*3d // admittedly a bit contrived ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How should floating point inaccuracies be explained and justified? – cseducators.stackexchange.com"