3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

FPA API bugfixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-01-21 14:22:35 +00:00
parent d8f90802c0
commit 052baaabe4
3 changed files with 25 additions and 13 deletions

View file

@ -1221,7 +1221,7 @@ std::string mpf_manager::to_string(mpf const & x) {
m_mpq_manager.display_decimal(ss, r, x.sbits);
if (m_mpq_manager.is_int(r))
ss << ".0";
ss << "p" << exponent;
ss << " " << exponent;
res += ss.str();
}
}