fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months ago10001mander.xyzimagemessage-square58fedilinkarrow-up1702arrow-down16
arrow-up1696arrow-down1image10001mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agomessage-square58fedilink
minus-squarePhoenixz@lemmy.calinkfedilinkEnglisharrow-up41arrow-down1·2 months agoUnless it’s a signed integer, then it’s -1 and they’re expecting something…
minus-squareDacoTaco@lemmy.worldlinkfedilinkEnglisharrow-up9·2 months agoA 5 bit long signed integer? What kind of weird system you using ? :p
minus-squarecomputergeek125@lemmy.worldlinkfedilinkEnglisharrow-up3·2 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
Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)