Re: Shock: rand function is not uniform!

[email protected] (Richard Proctor) Mon, 18 Feb 2002 07:27:03 +0000 (GMT)
Newsgroups perl.riscos
Message-ID <[email protected]>
On Mon 18 Feb, James Taylor wrote:
> On Fri 15 Feb, James Taylor wrote:
> > 
> > The rand() function as implemented in RISC OS Perl 1.13 for
> > the RiscPC is *not* uniform as it should be.
> 
> Err... It's been awfully quiet since I posted that.

Been busy

> Is there anybody there?

Yes

> Does anybody care?

Yes.  The rand function in the current riscos perl is based on the C
function"rand", which is well known to be less the ideal.  if/when we move
riscos perl to the more recent version which uses the C fucntion rand48 which
is more random.

> 
> > ...my own random number generator in Perl...
> > If anyone's interested, I can post it.
> 
> I take it the answer is no then?  :-(

Go ahead post it.

Richard

> 

-- 
Personal                               Work - Waveney Consulting
Mail: [email protected]              [email protected]
Web:  http://www.waveney.org           http://www.WaveneyConsulting.com
Independent Telecommunications Consultant, ATM expert, Web Analyst