@[email protected]M to Science [email protected]English • 1 month ago10001mander.xyzmessage-square59fedilinkarrow-up1695
arrow-up1695image10001mander.xyz@[email protected]M to Science [email protected]English • 1 month agomessage-square59fedilink
minus-square@[email protected]linkfedilinkEnglish13•edit-21 month 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!