3 ms·
I think you mean -32768.
by willchang 18y ago
I think you mean -32768.
- jmatt 18y agoIf it rolls over due to 2s complement then it'll be -32768. What the -1 comment is refering to is a casting problem. Or int into byte, etc. Versus unsigned to signed.
- IsaacSchlueter 18y agoOh, duh. Brainfart. -1 would be 11111111 not 10000000. While I doubt that HN's scoring would suffer from signedness bugs, if it did, getting your score down/up to -1 would be the ultimate. It would be an interesting easter egg to build into the system, tho :)
- icey 18y agoIt shouldn't do that; AFAIK it's using PLT Scheme's numeric stack.