• NateNate60@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    It would have made more sense if it was some random non-whole number because I’m pretty sure all popular floating-point systems can represent integers of that magnitude exactly.

    • m_‮fOPMA
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      It would’ve made the joke a little more verbose, but this would also have worked:

      >>> 1.1 + 2.2
      3.3000000000000003