This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2006 10:49:43 -0000
- Subject: [Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
- References: <bug-29520-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo at gcc dot gnu dot org 2006-10-29 10:49 -------
Subject: Bug 29520
Author: paolo
Date: Sun Oct 29 10:49:30 2006
New Revision: 118136
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118136
Log:
2006-10-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29520
* include/tr1/random (geometric_distribution<>::
operator()(_UniformRandomNumberGenerator&)): Only declare.
* include/tr1/random.tcc (geometric_distribution<>::
operator()(_UniformRandomNumberGenerator&),
poisson_distribution<>::operator()(_UniformRandomNumberGenerator&),
binomial_distribution<>::operator()(_UniformRandomNumberGenerator&)):
Reject candidate floating point values not convertible to the
result_type.
Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
branches/gcc-4_2-branch/libstdc++-v3/include/tr1/random
branches/gcc-4_2-branch/libstdc++-v3/include/tr1/random.tcc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29520