@[email protected]M to Science [email protected]English • 5 months ago10001mander.xyzimagemessage-square58fedilinkarrow-up1688arrow-down17
arrow-up1681arrow-down1image10001mander.xyz@[email protected]M to Science [email protected]English • 5 months agomessage-square58fedilink
minus-squarePhoenixzlinkfedilinkEnglish40•5 months agoUnless it’s a signed integer, then it’s -1 and they’re expecting something…
minus-squareDacoTacolinkEnglish9•5 months agoA 5 bit long signed integer? What kind of weird system you using ? :p
minus-squarePhoenixzlinkfedilinkEnglish1•4 months agoBecause a 5 bit unsigned integer is so much better? :p
minus-square@computergeek125linkEnglish3•5 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)