mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Tentative fix for #586.
This commit is contained in:
parent
bb2c5972c7
commit
44b0a6ddbc
2 changed files with 2 additions and 3 deletions
|
@ -1095,7 +1095,7 @@ void mpf_manager::round_to_integral(mpf_rounding_mode rm, mpf const & x, mpf & o
|
|||
TRACE("mpf_dbg", tout << "tie= " << tie << "; <tie = " << less_than_tie << "; >tie = " << more_than_tie << std::endl;);
|
||||
if (tie) {
|
||||
if ((rm == MPF_ROUND_NEAREST_TEVEN && m_mpz_manager.is_odd(div)) ||
|
||||
(rm == MPF_ROUND_NEAREST_TAWAY && m_mpz_manager.is_even(div))) {
|
||||
(rm == MPF_ROUND_NEAREST_TAWAY)) {
|
||||
TRACE("mpf_dbg", tout << "div++ (1)" << std::endl;);
|
||||
m_mpz_manager.inc(div);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue