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
{{ message }}
Repository navigation
RandomUtils.NextFloat(this Random) can return exactly 1 #166
To whoever works on this, I'd prefer to address this problem just by removing this extension method and the IRandom extension method above. Ideally we could perhaps get rid of RandomUtils altogether; I don't see that it serves any purpose. (Indeed the offending method is not used anywhere, near as I can tell. I'd think anyone outside utilizing this should use something else.)
Activity
TomFinley commentedon May 16, 2018
Thanks @skyoxZ !
To whoever works on this, I'd prefer to address this problem just by removing this extension method and the
IRandomextension method above. Ideally we could perhaps get rid ofRandomUtilsaltogether; I don't see that it serves any purpose. (Indeed the offending method is not used anywhere, near as I can tell. I'd think anyone outside utilizing this should use something else.)