Random numbers: problem with uniform_real random distribution
Hi Folks, I'm getting some very odd results out of the random uniform_real distribution. The distribution uniform_real<> rdouble (-1, 3); returns a sequence of number that looks like 1.28327e+10 2.34686e+09 1.29337e+10 1.25118e+10 1.54783e+10 1.13449e+10 which certainly doesn't meet the requirement of returning values in [-1,3)! I don't see any mention of this on the bug tracker; has anyone else seen this? ---------------------------------------------------------------------- Dave Steffen, Ph.D. "There are two ways to write error-free Software Engineer IV programs; only the third one works." Numerica Corporation ph (970) 419-8343 x27 "Pie are not square. Pie are round. fax (970) 223-6797 Cornbread are square" dgsteffen@numerica.us ... anon (usenet)
participants (1)
-
Dave Steffen