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.