fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 1 month ago10001mander.xyzimagemessage-square11fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1image10001mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 1 month agomessage-square11fedilink
minus-squareswag_money@lemmy.worldlinkfedilinkEnglisharrow-up0·1 month agowhat’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?
minus-squareYardy Sardley@lemmy.calinkfedilinkEnglisharrow-up1·1 month 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.
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.