update boost on linux

This commit is contained in:
Bassem Girgis
2019-08-10 16:06:25 -05:00
parent 76ad52be58
commit 861b918727
5363 changed files with 483306 additions and 116507 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