HN
Hacker News
Top
New
Best
Ask
Show
Jobs
One-bit signed integers | Hacker News Reader
One-bit signed integers
gist.github.com
2 points
·
jeamland
·
·
5 comments
Open article
Save
View on HN
informatimago
·
So? What's your problem?
mcdevhammer
·
I don't understand.
svisser
·
Why does this happen?
icedchai
·
it's a signed int... ones' complement.
informatimago
·
Indeed, if you want 0/1, use unsigned int, not signed int!
Reply on news.ycombinator.com