• @[email protected]
      link
      fedilink
      English
      334 months ago

      IEEE 754 floating point numbers have a signed bit at the front, causing +0 and -0 to exist.

    • @[email protected]
      link
      fedilink
      English
      164 months ago

      Specifically I was referring to standard float representation which permits signed zeros. However, other comments provide some interesting examples also.

      • @[email protected]
        link
        fedilink
        English
        24 months ago

        Floating point numbers are not possible in two’s complement, besides that, what is your point? 0,99999999… is probably the same as 1.

        • @[email protected]
          link
          fedilink
          English
          24 months ago

          Yes, mathematically it’s the same, but in physics there’s a guy named Heisenberg who denies that 0.99999… really gets to 1. There is always this difference, for a mathematician infinite is not a problem, but for a physicist it is, plus a very big one.

          • @[email protected]
            link
            fedilink
            English
            24 months ago

            True, it sounds like that might be a problem if we consider that physics has to be between math and computer science.

            (Have a nice day)