fossilesqueM to Science MemesEnglish · 28 days ago10001external-linkmessage-square59fedilinkarrow-up1716arrow-down17
arrow-up1709arrow-down1external-link10001fossilesqueM to Science MemesEnglish · 28 days agomessage-square59fedilink
minus-squaretetris11@lemmy.mllinkfedilinkEnglisharrow-up13·edit-227 days agoTwos 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.
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.
Good point!