• anton@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      27
      ·
      1 year ago

      2 + 2 == 4 with any reasonable fixed and floating point format. In ieee 754 floats powers of 2 have a fraction of exactly 1.0 and differing exponents.