Re: help with using Wichmann-Hill Pseudo Random Number Generator with box Muller box
Originally Posted by stefman
the method i used produces numbers less than 0 and greater than 1
I used your code to generate 1,000,000 numbers and none of them were less than 0 or greater than 1. It also doesn't make sense conceptually that you should get that error. Could you give the input ix, iy, and iz which result in this issue?
The time you enjoy wasting is not wasted time. Bertrand Russell