• tetris11@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 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.