mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 19:17:53 +00:00
Merge branch 'master' into polysat
This commit is contained in:
commit
220a63e8bd
223 changed files with 508 additions and 505 deletions
|
@ -312,13 +312,7 @@ void hwf_manager::round_to_integral(mpf_rounding_mode rm, hwf const & x, hwf & o
|
|||
}
|
||||
|
||||
void hwf_manager::rem(hwf const & x, hwf const & y, hwf & o) {
|
||||
#if defined(_WINDOWS) && _MSC_VER <= 1700
|
||||
o.value = fmod(x.value, y.value);
|
||||
if (o.value >= (y.value/2.0))
|
||||
o.value -= y.value;
|
||||
#else
|
||||
o.value = remainder(x.value, y.value);
|
||||
#endif
|
||||
}
|
||||
|
||||
void hwf_manager::maximum(hwf const & x, hwf const & y, hwf & o) {
|
||||
|
|
|
@ -17,6 +17,7 @@ Notes:
|
|||
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
|
||||
#include "util/vector.h"
|
||||
#include "util/uint_set.h"
|
||||
|
|
|
@ -1630,11 +1630,7 @@ std::string mpf_manager::to_string_hexfloat(mpf const & x) {
|
|||
std::ios_base::showpoint | std::ios_base::showpos);
|
||||
ss.setf(ff);
|
||||
ss.precision(13);
|
||||
#if defined(_WIN32) && _MSC_VER >= 1800
|
||||
ss << std::hexfloat << to_double(x);
|
||||
#else
|
||||
ss << std::hex << (*reinterpret_cast<const unsigned long long *>(&(x)));
|
||||
#endif
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
|
|
@ -243,7 +243,7 @@ public:
|
|||
m_value(m_vector.back()) {
|
||||
}
|
||||
|
||||
virtual void undo() {
|
||||
void undo() override {
|
||||
m_vector.push_back(m_value);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -42,7 +42,6 @@ public:
|
|||
struct fmt {};
|
||||
default_exception(std::string && msg) : m_msg(std::move(msg)) {}
|
||||
default_exception(fmt, char const* msg, ...);
|
||||
~default_exception() override {}
|
||||
char const * msg() const override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue