zlacker

[return to "Dang is going to have 65,535 karma points soon"]
1. unytti+ze[view] [source] 2023-04-05 22:58:08
>>codetr+(OP)
Does HN overflow to zero when dang gets there?
◧◩
2. Koshki+Je[view] [source] 2023-04-05 22:59:53
>>unytti+ze
Only the downvoting can save him.
◧◩◪
3. EGreg+Ue[view] [source] 2023-04-05 23:01:43
>>Koshki+Je
Will 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? :)

◧◩◪◨
4. dheera+vi[view] [source] 2023-04-05 23:22:03
>>EGreg+Ue
No, 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

[go to top]