@[email protected]M to Science [email protected]English • 1 day ago10001mander.xyzimagemessage-square54fedilinkarrow-up1626arrow-down16
arrow-up1620arrow-down1image10001mander.xyz@[email protected]M to Science [email protected]English • 1 day agomessage-square54fedilink
minus-square@swag_moneylinkEnglish2•6 hours agowhat’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?
minus-squareYardy SardleylinkfedilinkEnglish3•4 hours agoI used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you 01110 which is 14) then add 1.
minus-square@swag_moneylinkEnglish1•3 hours agothanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?
what’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?
I used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you
01110
which is 14) then add 1.thanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?