#433: Results of rand() is not obviously uniformly distributed
-----------------------------------+----------------------------------------
Reporter: nagachik...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Hi
Kernel#rand(nil) should generate random Float numbers distributed
uniformly between 0.0 <= x < 1.0.
But current MacRuby rand() generate obviously non-uniform distributed
sequence. It NEVER generate a number smaller than 0.1!
I have wrote a small patch. I check that work fine with AO Bench result
image.
Thanks.
--
Ticket URL: <http://www.macruby.org/trac/ticket/433>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel