Possible random range issue for zero
tbenade opened this issue · comments
Terrence Benade commented
Is this a regression?
No
Description
I was expecting a result of 0 for
randNumber({ 0, 0 });
but it returns arbitrary integers. where as
randNumber({ 1, 1 });
would return 1
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
Thank you great project.
Do you want to create a pull request?
No
Netanel Basal commented
@shaharkazaz, please fix it as part of the other fix we discussed.