you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 month ago (2 children)

It'd be more surprising if the calculator apps were dumb enough to not do PEMDAS.

Back in the day I had a math teacher tell us to check if a cheap calculator was coded competently by punching 2÷3×6. After 2÷3 when you pushed x it'd spit out 0.66666667 (because on those ones you couldn't do more than one operator at a time). A decent one would store the actual value of 2/3 even though the display showed .6 repeating, so x6 would produce the proper answer 4. A poor one returned 3.99999996

  • source
  • parent
  • hideshow 2 child comments