From: Marc-Andre Lafortune Date: 2010-04-12T05:33:01+09:00 Subject: [ruby-core:29461] Re: [RubySpec #3128] Randomness specs Hi, On Sun, Apr 11, 2010 at 1:30 PM, Caleb Clausen wrote: > I find this troubling, since it could imply that the random number > generator obeys the mythical law of averages. You know better, I'm > sure, but others may not. A written standard needs to be very clear > about this, and use the appropriate statistical language. If I knew better, I would probably refer to a known statistical test :-) I just meant that rubinius' implementation is such that Kernel.rand(1 << 64) will never return any value greater than 1 << 31, which I find troubling. > 5) could be interpreted 2 ways, depending on the meaning of the > ambiguous term 'platform'. Indeed, sorry about the poor wording. I meant in the stronger sense, i.e. on all implementations and all platforms (your 5b) On Sun, Apr 11, 2010 at 5:02 AM, Nobuyoshi Nakada wrote: > I think the specs are only 0 and 5, and I'd categorize them as: > As per Caleb, there is a A-3) which is the same as A-2) but "...on all platforms and all implementations". (or maybe you were implying it too?) So, what should apply to the Ruby language?