public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/29520]  New: tr1: discrete_distributions vs large floating point values
@ 2006-10-19 22:21 pcarlini at suse dot de
  2006-10-19 22:22 ` [Bug libstdc++/29520] " pcarlini at suse dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2006-10-19 22:21 UTC (permalink / raw)
  To: gcc-bugs

This is an internal reminder for an issue which must be fixed before delivering
the discrete distributions (geometric, poisson, binomial, in particular): when,
in operator(), the floating point result exceeds the max integer value of the
return type the value must be rejected.


-- 
           Summary: tr1: discrete_distributions vs large floating point
                    values
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
  2006-10-19 22:21 [Bug libstdc++/29520] New: tr1: discrete_distributions vs large floating point values pcarlini at suse dot de
@ 2006-10-19 22:22 ` pcarlini at suse dot de
  2006-10-29 10:49 ` paolo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2006-10-19 22:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pcarlini at suse dot de  2006-10-19 22:22 -------
Will fix as soon as I'm nack from a travel...


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-19 22:22:12
               date|                            |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
  2006-10-19 22:21 [Bug libstdc++/29520] New: tr1: discrete_distributions vs large floating point values pcarlini at suse dot de
  2006-10-19 22:22 ` [Bug libstdc++/29520] " pcarlini at suse dot de
  2006-10-29 10:49 ` paolo at gcc dot gnu dot org
@ 2006-10-29 10:49 ` paolo at gcc dot gnu dot org
  2006-10-29 10:52 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2006-10-29 10:49 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
  2006-10-19 22:21 [Bug libstdc++/29520] New: tr1: discrete_distributions vs large floating point values pcarlini at suse dot de
  2006-10-19 22:22 ` [Bug libstdc++/29520] " pcarlini at suse dot de
@ 2006-10-29 10:49 ` paolo at gcc dot gnu dot org
  2006-10-29 10:49 ` paolo at gcc dot gnu dot org
  2006-10-29 10:52 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2006-10-29 10:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo at gcc dot gnu dot org  2006-10-29 10:49 -------
Subject: Bug 29520

Author: paolo
Date: Sun Oct 29 10:49:07 2006
New Revision: 118135

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118135
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:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1/random
    trunk/libstdc++-v3/include/tr1/random.tcc


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libstdc++/29520] tr1: discrete_distributions vs large floating point values
  2006-10-19 22:21 [Bug libstdc++/29520] New: tr1: discrete_distributions vs large floating point values pcarlini at suse dot de
                   ` (2 preceding siblings ...)
  2006-10-29 10:49 ` paolo at gcc dot gnu dot org
@ 2006-10-29 10:52 ` pcarlini at suse dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2006-10-29 10:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2006-10-29 10:52 -------
Fixed for 4.2.0.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-29 10:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-19 22:21 [Bug libstdc++/29520] New: tr1: discrete_distributions vs large floating point values pcarlini at suse dot de
2006-10-19 22:22 ` [Bug libstdc++/29520] " pcarlini at suse dot de
2006-10-29 10:49 ` paolo at gcc dot gnu dot org
2006-10-29 10:49 ` paolo at gcc dot gnu dot org
2006-10-29 10:52 ` pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).