fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 19 days ago10001mander.xyzimagemessage-square59fedilinkarrow-up1714arrow-down17
arrow-up1707arrow-down1image10001mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 19 days agomessage-square59fedilink
minus-squarePhoenixz@lemmy.calinkfedilinkEnglisharrow-up41arrow-down1·18 days agoUnless it’s a signed integer, then it’s -1 and they’re expecting something…
minus-squareDacoTaco@lemmy.worldlinkfedilinkEnglisharrow-up9·18 days agoA 5 bit long signed integer? What kind of weird system you using ? :p
minus-squarePhoenixz@lemmy.calinkfedilinkEnglisharrow-up1·23 hours agoBecause a 5 bit unsigned integer is so much better? :p
minus-squarecomputergeek125@lemmy.worldlinkfedilinkEnglisharrow-up3·17 days agoOnly if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)
Unless it’s a signed integer, then it’s -1 and they’re expecting something…
A 5 bit long signed integer? What kind of weird system you using ? :p
Because a 5 bit unsigned integer is so much better? :p
Two’s complement
Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)