Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Monte Carlo - Coin Toss

by ikegami (Pope)
on Mar 12, 2011 at 08:18 UTC ( #892797=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Monte Carlo - Coin Toss
in thread Monte Carlo - Coin Toss

Yes, but it won't work if the numbers are too large for integers and have to use floating point.

If 2 billion loop iterations are not enough for you, you can always nest loops to multiple the range.

Comment on Re^3: Monte Carlo - Coin Toss

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://892797]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2016-02-11 22:01 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (382 votes), past polls