This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33815] tr1::uniform_int isn't uniform
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2007 09:40:27 -0000
- Subject: [Bug libstdc++/33815] tr1::uniform_int isn't uniform
- References: <bug-33815-8718@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pcarlini at suse dot de 2007-10-19 09:40 -------
Actually, the problem happens only for some specific values of the range, like
eng.max() / 5.5, dividing by 2 or 10 is ok. Indeed, seems a binary arithmetic
problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33815