?

Log in

No account? Create an account

Integer overflow - John C. Kirk

Jul. 7th, 2011

07:30 pm - Integer overflow

Previous Entry Share Next Entry

Comments:

[User Picture]
From:gaspodog
Date:July 7th, 2011 10:15 pm (UTC)
(Link)
most programming languages will generate an error (or throw an exception) if you try to store a value that's too big

Python went for the approach of unifying integers with arbitrarily sized longs. So you don't overflow... Though you might run out of memory to store it, eventually :)
(Reply) (Thread)