• palordrolap@fedia.io
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    19 hours ago

    Infinity is also a number in JavaScript / IEEE number formats, but you’ll get a lot of grumbling from mathematicians with that sort of assertion.

    • anton@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      Once you accept that each float represent a range of reals most design decisions make sense.
      Infinity is just the name given to values that are too large to represent otherwise and negative zero includes negative values too close to zero.

      What mathematics probably hate most about floats is that rounding breaks commutativity.