Tim McNamara @timclicks.dev · Nov 4

Let's start with some code. For slightly esoteric reasons about how computers are built, the may_overflow function is only allowed to be called with numbers between -2,147,483,648 (approx. -2.1 billion) and 0 inclusive.

2 likes 1 replies

?

Replies

Tim McNamara · Nov 4

Anything outside of that range will put the program into an invalid state. Your code might crash, it might have security vulnerabilities, it might behave like there's no problem at all.