Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
It could be an overflow, or it could have set it to that value if something unexpected happens. Ints aren’t nullable (in most languages), so returning some fixed but never occurring value is useful. The fact that it is exactly that value makes me suspect that’s the case, not overflow.
It could be an overflow, or it could have set it to that value if something unexpected happens. Ints aren’t nullable (in most languages), so returning some fixed but never occurring value is useful. The fact that it is exactly that value makes me suspect that’s the case, not overflow.