[ruby-cvs:62125] nobu:r54962 (trunk): random.c: seed conversion

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 9 12:52:09 JST 2016


nobu	2016-05-09 12:52:09 +0900 (Mon, 09 May 2016)

  New Revision: 54962

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

  Log:
    random.c: seed conversion
    
    * random.c (rand_init): random_seed() always returns an Integer,
      no conversion for it.
    
    * random.c (random_init, rb_f_srand): convert the given seed to an
      Integer.

  Modified files:
    trunk/random.c


More information about the ruby-cvs mailing list