Floating point inaccuracy examples

Posted by David Rutten on Stack Overflow See other posts from Stack Overflow or by David Rutten
Published on 2010-01-20T10:10:30Z Indexed on 2010/04/04 0:33 UTC
Read the original article Hit count: 658

How do you explain floating point inaccuracy to fresh programmers and laymen who still think computers are infinitely wise and accurate?
Do you have a favourite example or anecdote which seems to get the idea across much better than an precise, but dry, explanation?
How is this taught in Computer Science classes?

© Stack Overflow or respective owner

Related posts about floating-accuracy

Related posts about floating-point