• madjo
    link
    fedilink
    English
    173 months ago

    -1 days? (or 17, without the overflow)

    • @tetris11@lemmy.ml
      link
      fedilink
      English
      13
      edit-2
      3 months ago

      Twos complement (invert the bits then add one), so its -15 days.

      Otherwise 00000 and 10000 would paradoxically both equal 0 and make bitwise equality checks very difficult.