Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by stavros

2 days ago

> I've never seen a calculator come up with the wrong answer when adding two numbers.

1.00000001 + 1 doesn't equal 2, therefore the claim is false.

1 comment

stavros

Reply

sjsdaiuasgdia  2 days ago

Sure it does, if you have made a system design decision about the precision of the outputs.

At the precision the system is designed to operate at, the answer is 2.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities