Negative numbers come with tricky modulus results and are excluded from the return values of the standard rand().