mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
debug fix for mpf_manager
This commit is contained in:
parent
deea4e92f2
commit
f3c74a06eb
|
@ -1411,6 +1411,7 @@ std::string mpf_manager::to_string_hexfloat(mpf const & x) {
|
||||||
std::stringstream ss("");
|
std::stringstream ss("");
|
||||||
std::ios::fmtflags ff = ss.setf(std::ios_base::hex | std::ios_base::uppercase |
|
std::ios::fmtflags ff = ss.setf(std::ios_base::hex | std::ios_base::uppercase |
|
||||||
std::ios_base::showpoint | std::ios_base::showpos);
|
std::ios_base::showpoint | std::ios_base::showpos);
|
||||||
|
ss.setf(ff);
|
||||||
ss.precision(13);
|
ss.precision(13);
|
||||||
#if defined(_WIN32) && _MSC_VER >= 1800
|
#if defined(_WIN32) && _MSC_VER >= 1800
|
||||||
ss << std::hexfloat << to_double(x);
|
ss << std::hexfloat << to_double(x);
|
||||||
|
|
Loading…
Reference in a new issue