updated boost on windows

This commit is contained in:
Bassem Girgis
2019-08-13 21:48:48 -05:00
parent 7d77d485fd
commit b40a3bee82
5162 changed files with 473027 additions and 116452 deletions

View File

@@ -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