Project

General

Profile

Actions

Feature #4697

closed

Fix documentation typo on random.c

Added by smartinez87 (Sebastian Martinez) almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
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) almost 13 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

Like0
Like0