We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
In the notes section of rand() it says:
(max - min) <= getrandmax()
But must be
abs(max - min) <= getrandmax()