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
Documentation says randRange is "inclusive" for 'min' and "inclusive" for 'max', but on running thousands of iterations it seems it is actually exclusive of 'max'.
Using XORWow
random.randRange(min, max)
Generates a number within the given range.
Parameters
min -> Lower bound of the numbers to generate (inclusive).
max -> Upper bound of the numbers to generate (inclusive).
Returns
Number min <= Number <= max.
The text was updated successfully, but these errors were encountered:
Documentation says
randRange
is "inclusive" for 'min' and "inclusive" for 'max', but on running thousands of iterations it seems it is actually exclusive of 'max'.Using
XORWow
The text was updated successfully, but these errors were encountered: