10001mander.xyzimage fossilesque ( @fossilesque@mander.xyz ) M Science Memes@mander.xyzEnglish • 2 days ago message-square15fedilinkarrow-up1325
arrow-up1325image10001mander.xyz fossilesque ( @fossilesque@mander.xyz ) M Science Memes@mander.xyzEnglish • 2 days ago message-square15fedilink
minus-square madjo ( @madjo@feddit.nl ) linkfedilinkEnglish6•10 hours ago-1 days? (or 17, without the overflow)
minus-square tetris11 ( @tetris11@lemmy.ml ) linkfedilinkEnglish4•edit-210 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.
-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!