• @[email protected]
    link
    fedilink
    456 days ago

    I bought a cheap scientific calculator for math class. When I tried to multiply .5 by .5 it gave a long irrational number instead of .25. then I had to try to explain to the store clerk why that was wrong before they would accept the return

    • @[email protected]
      link
      fedilink
      English
      226 days ago

      First gen Pentium seems like it would be overkill for a scientific calculator but I guess they had to offload those chips somehow.

      • @[email protected]
        link
        fedilink
        English
        196 days ago

        The ti-84 plus is based on the zilog z80. From 1976. The calculator is still being made, and still costs $100.

    • Scrubbles
      link
      fedilink
      English
      236 days ago

      Ah floating point math. Works fine for 90% of use cases, until it doesn’t.

      • @[email protected]
        link
        fedilink
        66 days ago

        Weirdly though it wasn’t remotely close to the right answer so I don’t think it was floating point malarkey. I always assumed some defect but I guess we’ll never know.now I wish I had kept it so I could have sent it to Matt Parker for his calculator reviews

      • @[email protected]
        link
        fedilink
        English
        116 days ago

        Better calculators just use floating point math with a few tricks on top to pretend it isn’t floating point math.

    • spirinolas
      link
      fedilink
      25 days ago

      This reminds me of a story with an old high school maths teacher.

      Someone said a number divided by zero was zero and he proceeded to explain why it was not. One of the class jokers went “oh yeah, well my calculator says it’s zero!”. The teachers smiles and says “surely not” and approaches the joker to see what kind of shenanigan he was pulling. And sure as hell he divides five by zero and zero is the result. The teacher, not believing his own eyes, looks at the calculator, then the joker, then the calculator again. The window was open. Figure out the rest yourself.