• tigeruppercut@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    7 days ago

    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

    • MrShankles@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      6 days ago

      I used to have anxiety about trusting a calculator’s output, and would end up doing the order of operations separately. It drilled them into my head though, I guess