@fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish • 3 months ago10001mander.xyzimagemessage-square59fedilinkarrow-up1716arrow-down17
arrow-up1709arrow-down1image10001mander.xyz@fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish • 3 months agomessage-square59fedilink
minus-squarePhoenixzlinkfedilinkEnglish40•3 months agoUnless it’s a signed integer, then it’s -1 and they’re expecting something…
minus-squareDacoTacolinkfedilinkEnglish9•3 months agoA 5 bit long signed integer? What kind of weird system you using ? :p
minus-squarePhoenixzlinkfedilinkEnglish1•2 months agoBecause a 5 bit unsigned integer is so much better? :p
minus-square@computergeek125@lemmy.worldlinkfedilinkEnglish3•3 months 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
Two’s complement
Because a 5 bit unsigned integer is so much better? :p
Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)