From c968bb603905aca730e1307c3ff2c85f02e50b79 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 4 Mar 2018 13:07:30 +0000 Subject: [PATCH] MPC: A few more fixes gets the first test building (though failing). --- include/boost/multiprecision/mpc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multiprecision/mpc.hpp b/include/boost/multiprecision/mpc.hpp index 6e67781d..2c17013a 100644 --- a/include/boost/multiprecision/mpc.hpp +++ b/include/boost/multiprecision/mpc.hpp @@ -581,7 +581,7 @@ inline void eval_subtract(mpc_float_backend& a, long x, const mpc_float_back { if(x < 0) { - mpc_add_ui(a.data(), y.data(), boost::multiprecision::detail::unsigned_abs(x)); + mpc_add_ui(a.data(), y.data(), boost::multiprecision::detail::unsigned_abs(x), GMP_RNDD); mpc_neg(a.data(), a.data(), GMP_RNDD); } else