Skip to content

Glossary: Algorithms Beyond the Basics in Go

Integer overflow

Also written: overflow, wraps silently

When a result is too big for an `int`'s 64 bits, Go wraps it around, often to a negative number, with no warning. `waysTable(92)` shows it.

Where the book teaches it

Related terms

inf (infinity constant)