3 ms·
Not for most implementations, a signed 32 bit int goes from ~-2 billion to ~+2 billion, an unsigned from 0 to ~4 billion
by HideousKojima 4y ago
Not for most implementations, a signed 32 bit int goes from ~-2 billion to ~+2 billion, an unsigned from 0 to ~4 billion
- taeric 4y agoThat isn't disagreeing? It is half the numbers. But that is just minus one exponent. Right?
- HideousKojima 4y agoThe GP said it would have "bought Reddit a lot of time," the post I responded to said it was merely 2^31 implying that it wouldn't have bought them a lot of time, that's the part I was replying to (though I didn't word it clearly). 2 billion more values would have bought Reddit a lot of time. I should have taken more time to read over both posts and respond more clearly though
- bagels 4y agoFor most implementations 2^31 is ~2 billion.