[–] svisser 11y ago ↗ Why does this happen? [–] icedchai 11y ago ↗ it's a signed int... ones' complement. [–] informatimago 11y ago ↗ Indeed, if you want 0/1, use unsigned int, not signed int!
[–] icedchai 11y ago ↗ it's a signed int... ones' complement. [–] informatimago 11y ago ↗ Indeed, if you want 0/1, use unsigned int, not signed int!
5 comments
[ 2.2 ms ] story [ 26.4 ms ] thread