Project

General

Profile

Bug #2038 ยป random.c.patch

runpaint (Run Paint Run Run), 09/04/2009 04:02 AM

View differences:

random.c
*
* When the argument is an +Integer+ or a +Bignum+, it returns a
* random integer greater than or equal to zero and less than the
* argument. Unlike Random#rand, when the argument is a negative
* argument. Unlike Random.rand, when the argument is a negative
* integer or zero, it raises an ArgumentError.
*
* When the argument is a +Float+, it returns a random floating point
    (1-1/1)