[MacRuby-devel] [MacRuby] #433: Results of rand() is not obviously uniformly distributed

MacRuby ruby-noreply at macosforge.org
Mon Nov 16 11:22:07 PST 2009


#433: Results of rand() is not obviously uniformly distributed
-----------------------------------+----------------------------------------
 Reporter:  nagachika00@…          |        Owner:  lsansonetti@…        
     Type:  defect                 |       Status:  closed               
 Priority:  blocker                |    Milestone:  MacRuby 0.5          
Component:  MacRuby                |   Resolution:  fixed                
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by jkh@…):

 Actually, this is more of an argument for arc4random().  See how to drop
 it in as a replacement for random() by reading man page, specifically the
 EXAMPLES section.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/433#comment:2>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list