summaryrefslogtreecommitdiff
path: root/boost/multiprecision/debug_adaptor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/multiprecision/debug_adaptor.hpp')
-rw-r--r--boost/multiprecision/debug_adaptor.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/boost/multiprecision/debug_adaptor.hpp b/boost/multiprecision/debug_adaptor.hpp
index 1b69ba4aa6..1e395035f7 100644
--- a/boost/multiprecision/debug_adaptor.hpp
+++ b/boost/multiprecision/debug_adaptor.hpp
@@ -282,6 +282,7 @@ inline void eval_ldexp(debug_adaptor<Backend>& result, const debug_adaptor<Backe
template <class Backend, class Exp>
inline void eval_scalbn(debug_adaptor<Backend>& result, const debug_adaptor<Backend>& arg, Exp exp)
{
+ using default_ops::eval_scalbn;
eval_scalbn(result.value(), arg.value(), exp);
result.update_view();
}
@@ -289,6 +290,7 @@ inline void eval_scalbn(debug_adaptor<Backend>& result, const debug_adaptor<Back
template <class Backend>
inline typename Backend::exponent_type eval_ilogb(const debug_adaptor<Backend>& arg)
{
+ using default_ops::eval_ilogb;
return eval_ilogb(arg.value());
}
@@ -456,12 +458,17 @@ NON_MEMBER_OP3(pow, "pow");
NON_MEMBER_OP3(atan2, "atan2");
template <class Backend>
+int eval_signbit(const debug_adaptor<Backend>& val)
+{
+ return eval_signbit(val.value());
+}
+
+template <class Backend>
std::size_t hash_value(const debug_adaptor<Backend>& val)
{
return hash_value(val.value());
}
-
} // namespace backends
using backends::debug_adaptor;