• @[email protected]
      link
      fedilink
      English
      391 month ago

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

    • @[email protected]
      link
      fedilink
      English
      181 month ago

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

    • @sus
      link
      English
      41 month ago

      floats

      • @[email protected]
        link
        fedilink
        English
        21 month 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
          21 month 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
            21 month 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)