Content deleted Content added
Fix typo in examples |
m →Methods to mitigate integer overflow problems: - added and edited programming language table entries |
||
Line 49:
| [[C Sharp (programming language)|C#]] || colspan="2" | modulo power of 2 in unchecked context; <code>System.OverflowException</code> is raised in checked context<ref>http://msdn.microsoft.com/en-us/library/khy08726.aspx</ref>
|-
| [[Java (programming language)|Java]] ||
|-
| [[JavaScript]] || colspan="2" | all numbers are [[Double-precision floating-point format|double-precision floating-point]]
| [[Python (programming language)|Python]] 2 || NA || convert to long▼
|-
| [[Seed7]] || NA || <tt>'''raise''' OVERFLOW_ERROR</tt><ref>[http://seed7.sourceforge.net/manual/errors.htm#OVERFLOW_ERROR Seed7 manual], section 15.2.3 OVERFLOW_ERROR.</ref>▼
|-
▲| [[Seed7]] ||
|-
| [[
|-
| [[Smalltalk]] || N/A || convert to LargeInteger
| [[Swift (programming language)|Swift]] || colspan="2 | Causes error unless using special overflow operators.<ref>The Swift Programming Language. Swift 2.1 Edition. October 21, 2015.</ref>▼
|-
▲| [[Swift (programming language)|Swift]] || colspan="2" | Causes error unless using special overflow operators.<ref>The Swift Programming Language. Swift 2.1 Edition. October 21, 2015.</ref>
|-
|}
|