[Boost-bugs] [Boost C++ Libraries] #6801: mersenne_twister friend function operator==

Subject: [Boost-bugs] [Boost C++ Libraries] #6801: mersenne_twister friend function operator==
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-16 19:33:07


#6801: mersenne_twister friend function operator==
---------------------------------------------------------+------------------
 Reporter: James Hirschorn <james.hirschorn@…> | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
---------------------------------------------------------+------------------
 operator== does not return the correct value.

 I give an example of 2 equivalent mersenne_twister engines for which
 operator== returns a value of false.

 The problem is that operator== counts the high w-r bits of the first byte
 of the generator state.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6801>
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:09 UTC