Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Re: table index

Date2011-09-02 13:17
Fromjohn ffitch
SubjectRe: [Csnd] Re: table index
>>>>> "thorin" == thorin kerr  writes:

 thorin> [1:text/plain Hide]
 thorin> Now I'm curious... Does the 64 bit version change this?

No; the pseudo random number generator has the integer range of
2147483647 and that is reduced to [min, max]



 thorin> On Fri, Sep 2, 2011 at 2:36 AM,  wrote:

 >> > Thank You all,
 >> > i think i have understand.
 >> >
 >> > in my empirical experiment using random opcode, seems that this will
 >> never
 >> > reach max value
 >> > (i.e. range is (min, max] ). I'm not so sure, but in manual page of
 >> random
 >> > opcode it is not specified.
 >> >
 >> 
 >> 
 >> Reading the code it will achieve the maximum but with a much lower
 >> probability that other values;  that is 1 case in 2147483647
 >> 
==John ffitch


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"