Re: [Boost-bugs] [Boost C++ Libraries] #4038: hash_value(float) collision

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4038: hash_value(float) collision
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-24 08:49:03


#4038: hash_value(float) collision
----------------------------------------+-----------------------------------
 Reporter: dsharlet@… | Owner: danieljames
     Type: Bugs | Status: assigned
Milestone: Boost 1.43.0 | Component: hash
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: hash_value collision float |
----------------------------------------+-----------------------------------

Comment(by danieljames):

 (In [60805]) Remove optimization which causes 0.5 to hash to 0. Refs
 #4038.

 I have an internal requirement the 0 hashes to 0, a better solution
 might be to remove that, put the optimization back and hash 0 to another
 value. Or alternatively, use the main combine function instead.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4038#comment:2>
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:02 UTC