Project

General

Profile

Actions

Feature #4697

closed

Fix documentation typo on random.c

Added by smartinez87 (Sebastian Martinez) over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
[ruby-core:36198]

Files

typo.patch (626 Bytes) typo.patch smartinez87 (Sebastian Martinez), 05/15/2011 10:40 PM

Updated by drbrain (Eric Hodel) over 10 years ago

  • Status changed from Open to Rejected

I agree with KOSAKI Motohiro, the following function is int_pair_to_real_inclusive() which has a comment of:

/* generates a random number on [0,1] with 53-bit resolution*/

so I think they are meant to be mathematically interpreted.

Actions

Also available in: Atom PDF