Log in

No account? Create an account

Integer overflow - John C. Kirk — LiveJournal

Jul. 7th, 2011

07:30 pm - Integer overflow

Previous Entry Share Next Entry


[User Picture]
Date:July 7th, 2011 10:15 pm (UTC)
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)