• MajorasMaskForever@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Let me ask you this

    Take a CPU designed in the last 80 years. Ask it to divide integer 1 by integer 2. Explain to me why the CPU hands back 0 and not 0.5.

    Technical solutions do have fundamental limitations to them that cannot be overcome. That scenario plays out all the time. We didn’t overcome integer division by brute force, we acknowledged that the approach of having computers use integers for numbers is flawed and came up with a bunch of possible solutions until finally settling on IEEE754 and even then it still doesn’t handle all math correctly.

    Blindly saying such issues can be overcome is, imho, the truly stupid statement

    • FreedomAdvocate@lemmy.net.au
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Ask it to divide integer 1 by integer 2. Explain to me why the CPU hands back 0 and not 0.5.

      Because integers are whole numbers by design. You don’t get 0, you get 0 with remainder 1.

      Blindly saying such issues can be overcome is, imho, the truly stupid statement

      I’m not saying they definitely will be - I’m saying that blindly saying that they definitely will not ever be overcome is stupid.