• madjo
    link
    fedilink
    English
    171 month ago

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

    • @[email protected]
      link
      fedilink
      English
      13
      edit-2
      1 month 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.