[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 11:54:50 EST 2008


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

User juraj at hotfeet.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=359918#c3





--- Comment #3 from Juraj Skripsky <juraj at hotfeet.ch>  2008-02-08 09:54:49 MST ---
Created an attachment (id=193905)
 --> (https://bugzilla.novell.com/attachment.cgi?id=193905)
simple test case

Output with patch:
==================
-5: 0
-4: 10075
-3: 9946
-2: 9857
-1: 9883
0: 20086
1: 10142
2: 10029
3: 9912
4: 10070
5: 0

Output with patch applied:
==========================
-5: 9936
-4: 10020
-3: 9724
-2: 9902
-1: 10099
0: 10046
1: 10063
2: 10046
3: 9998
4: 10166
5: 0


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