Topic summary

Arithmetic overflow

Arithmetic overflow

Extracted from the Wikipedia article Integer overflow.

Examples

Unanticipated arithmetic overflow is a fairly common cause of program errors. Such overflow bugs may be hard to discover and diagnose because they may manifest themselves only for very large input data sets, which are less likely to be used in validation tests.