Boost logo

Boost Users :

From: Dave Steffen (dgsteffen_at_[hidden])
Date: 2005-06-15 12:14:56


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_at_[hidden] ... anon (usenet)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net