[ruby-cvs:56747] nobu:r49597 (trunk): random.c: allow negative argument to random_number

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Feb 14 13:11:27 JST 2015


nobu	2015-02-14 13:11:26 +0900 (Sat, 14 Feb 2015)

  New Revision: 49597

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49597

  Log:
    random.c: allow negative argument to random_number
    
    * random.c (rand_random_number): allow negative argument as it is
      allowed by SecureRandom.random_number.

  Modified files:
    trunk/random.c


More information about the ruby-cvs mailing list