10001mander.xyzimage fossilesque ( @fossilesque@mander.xyz ) M Science Memes@mander.xyzEnglish • 2 days ago message-square15fedilinkarrow-up1333
arrow-up1333image10001mander.xyz fossilesque ( @fossilesque@mander.xyz ) M Science Memes@mander.xyzEnglish • 2 days ago message-square15fedilink
minus-square tetris11 ( @tetris11@lemmy.ml ) linkfedilinkEnglish5•edit-212 hours 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!