[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libstdc++/43660] range of random-number generator seems wrong/confusing




------- Comment #1 from redi at gcc dot gnu dot org  2010-04-06 10:38 -------
n1933 is ancient history, the RNG pieces have changed significantly

In the current draft it says:
"A uniform_int_distribution random number distribution produces random integers
i, a <= i <= b"

So it is a closed interval [a,b] rather than [a,b)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43660

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply to: