Initialise the exponent before calling frexp in the hash float function.

[SVN r29200]
This commit is contained in:
Daniel James
2005-05-26 07:36:26 +00:00
parent 16b4e4b261
commit 8090093f06

View File

@@ -263,7 +263,7 @@ namespace boost
template <class T>
inline std::size_t float_hash_value(T v)
{
int exp;
int exp = 0;
v = boost::hash_detail::call_frexp(v, &exp);
std::size_t seed = 0;