@fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish • 3 months ago10001mander.xyzimagemessage-square59fedilinkarrow-up1716arrow-down17
arrow-up1709arrow-down1image10001mander.xyz@fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish • 3 months agomessage-square59fedilink
minus-square@tetris11@lemmy.mllinkfedilinkEnglish13•edit-23 months 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.
-1 days? (or 17, without the overflow)
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!