Skip to content

Conversation

SemkiShow
Copy link

Before my change the minimal value of signed types was bigger, than in reality.
For example:
The program said that the limits of signed char are -127 and 127, when the are in fact -128 and 127.
The fix is to just subtract 1 from the minimal value to get the real minimal value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant