mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-18 14:12:32 +00:00
MPC: A few more fixes gets the first test building (though failing).
This commit is contained in:
@@ -581,7 +581,7 @@ inline void eval_subtract(mpc_float_backend<D1>& 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
|
||||
|
||||
Reference in New Issue
Block a user