3 ms·
Only the downvoting can save him.
by Koshkin 4y ago
Only the downvoting can save him.
- EGreg 4y agoWill he be the first person to have negative karma otherwise? And the most tremendous one at that! Believe me, no one will have smaller karma than him, nobody. What happens if he gets downvoted then? Will it wrap around to the HIGHEST KARMA? :)
- dheera 4y agoNo, if an overflow at 65535 occurs it would be to 0, not negative. signed 16-bit ints are -32768 to 32767, unsigned 16-bit ints are 0 to 65535
- maximilianroos 4y ago<a rare sighting of an int17>
- muzani 4y agoWhy allocate more bits than you ever need?
- rurban 4y agoarc is written in scheme, it never overflows. both mzscheme and racket have proper integers, it is not C.