[Mono-bugs] [Bug 359918] System.Random.Next(int, int) does not distribute values correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 8 12:04:58 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=359918

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359918#c4





--- Comment #4 from Sebastien Pouliot <spouliot at novell.com>  2008-02-08 10:04:58 MST ---
Yes, the problem was that, with negative values, we rounded in the wrong
direction (so twice the 0, never the minimal value).

Juraj, you can commit the patch with a ChangeLog entry.

I'll commit a second fix and backport both to the 1-9 branch and close the
issue.
Thanks


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list