Integer overflow: Difference between revisions

Content deleted Content added
No edit summary
Methods to mitigate integer overflow problems: use whose "to refer to inanimate antecedents", per http://www.quickanddirtytips.com/education/grammar/whose-for-inanimate-objects
Line 53:
 
==Methods to mitigate integer overflow problems==
Programming languages implement various mitigation methods against an accidental overflow: [[Ada (programming language)|Ada]], [[Seed7]] (and certain variants of functional languages), trigger an exception condition on overflow, while [[Python (programming language)|Python]] (since 2.4) seamlessly converts internal representation of the number to match its growth, eventually representing it as <code>long</code> which--whose ability is only limited by the available memory.<ref>[https://docs.python.org/2/reference/expressions.html Python documentation], section 5.1 Arithmetic conversions.</ref>
 
Run-time overflow detection implementation <code>AddressSanitizer</code> is also available for [[C compiler]]s.