Hacker News new | ask | show | jobs
One-bit signed integers (gist.github.com)
2 points by jeamland 4240 days ago
3 comments

So? What's your problem?
I don't understand.
Why does this happen?
it's a signed int... ones' complement.
Indeed, if you want 0/1, use unsigned int, not signed int!