Integer overflow: Difference between revisions
m
→{{header|Lingo}}: added </lang> to match the <lang c> [??]
m (→{{header|FreeBASIC}}: added a </lang> for match the <lang c> [??]) |
m (→{{header|Lingo}}: added </lang> to match the <lang c> [??]) |
||
Line 1,703:
Lingo uses 32-bit signed integers.
A Lingo program does <b>not</b> recognize a signed integer overflow and the program <b>continues with wrong results</b>.
<lang c>#include <stdio.h></lang>
<lang lingo>put -(-2147483647-1)
|