You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ARandom::next the % operator is being used by itself to generate a value on the range of [0, (max - min)). According to this source, this is poor behavior. Which, now that it is presented to me, seems entirely accurate.
Update ARandom::next to retrieve values on a range using the suggested approach.
In
ARandom::next
the%
operator is being used by itself to generate a value on the range of[0, (max - min))
. According to this source, this is poor behavior. Which, now that it is presented to me, seems entirely accurate.Update
ARandom::next
to retrieve values on a range using the suggested approach.The text was updated successfully, but these errors were encountered: