[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: 5.3 unsigned fall-over?
- From: Andrew Starks <andrew.starks@...>
- Date: Sun, 23 Mar 2014 14:09:44 -0500
This question comes from ignorance and I'm sincerely curious:
My understanding is that 5.3 internally flips to 64 bit signed when it sees that it's out of integer space in the double.
I presume that a similar strategy for positive ints that go beyond signed 64 bit would be too much to implement, or is it that it is presumed to not be needed enough to justify the complexity? Or maybe it would have other consequences?
I've seen overflow (surprise negative) results a few times, but it usually revealed a bug or was simple to get around. I'm genuinely curious, if someone has time to answer.