in reply to (jeffa) Re: Monte Carlo approximation of PI
in thread Monte Carlo approximation of PI

The remark "slow" in my code has nothing to do with code that is slow. The iterations themselves are quick enough. The algorithm is slow itself, taking about 10 times the previous amount of iterations to get one more correct digit (given a random generator that's good enough).

I fail to understand your "addition". If you want to make the iterations slower, why not add a sleep 1 << 30?

Abigail

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: Monte Carlo approximation of PI
by Anonymous Monk on Apr 05, 2003 at 05:43 UTC

    I think what jeffa was going for was what we mere mortals like to call "humour." Put down the blowtorch and laugh for a change :).