fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 3 months ago10001mander.xyzimagemessage-square55fedilinkarrow-up1668arrow-down15
arrow-up1663arrow-down1image10001mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 3 months agomessage-square55fedilink
minus-squaretetris11linkfedilinkEnglisharrow-up12·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.
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!