[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


User spouliot at novell.com added comment

--- 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

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