Re: [Boost-bugs] [Boost C++ Libraries] #2787: boost::random::detail::uniform_int_float constructor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2787: boost::random::detail::uniform_int_float constructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-23 01:42:47


#2787: boost::random::detail::uniform_int_float constructor
-------------------------------+--------------------------------------------
  Reporter: rick68_at_[hidden] | Owner: steven_watanabe
      Type: Bugs | Status: closed
 Milestone: Boost 1.39.0 | Component: random
   Version: Boost 1.38.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------
Changes (by steven_watanabe):

  * status: new => closed
  * type: Patches => Bugs
  * resolution: => invalid

Comment:

 Also, `base_result` should be a floating point type, so
 as long as `IntType` is unsigned (and `IntType` is unsigned
 in all uses inside the random library) there should be
 no problem with overflow.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2787#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:49:59 UTC