Re: [Boost-bugs] [Boost C++ Libraries] #9966: exponential_distribution returns negative zero

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9966: exponential_distribution returns negative zero
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-27 00:53:24


#9966: exponential_distribution returns negative zero
-------------------------------+---------------------------
  Reporter: mazzamuto@… | Owner: no-maintainer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: random
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by steven_watanabe):

 I don't consider returning -0 to be a bug, since 0 == -0. The real
 problem is that it's returning 0 at all. According to C++11
 exponential_distribution returns values > 0.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9966#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC