updated boost on windows
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <boost/multiprecision/number.hpp>
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
#include <boost/mpl/list.hpp>
|
||||
#include <boost/container_hash/hash.hpp>
|
||||
|
||||
namespace boost{
|
||||
namespace multiprecision{
|
||||
@@ -199,6 +200,12 @@ inline int eval_fpclassify(const number_backend_float_architype& arg)
|
||||
return (boost::math::fpclassify)(arg.m_value);
|
||||
}
|
||||
|
||||
inline std::size_t hash_value(const number_backend_float_architype& v)
|
||||
{
|
||||
boost::hash<long double> hasher;
|
||||
return hasher(v.m_value);
|
||||
}
|
||||
|
||||
typedef boost::multiprecision::number<number_backend_float_architype> mp_number_float_architype;
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user