Re: Shock: rand function is not uniform!

2002-02-18 Thread Nicholas Clark
On Mon, Feb 18, 2002 at 07:27:03AM +, Richard Proctor wrote: 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

Re: Shock: rand function is not uniform!

2002-02-18 Thread James Taylor
On Mon 18 Feb, Richard Proctor wrote: The rand function in the current riscos perl is based on the C function rand, which is well known to be less the ideal. Less than ideal? That's rather an understatement. Did you run the program I attached which plots a graph of its distribution? From the