mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
Add support of the SunOS platform (Solaris, OpenSolaris, OpenIndiana) (#4757)
* Add support of the SunOS plateform (OpenSolaris, OpenIndiana) in scripts/mk_util.py * Add missing casts for the SunOS plateform (OpenSolaris, OpenIndiana) for the pow function
This commit is contained in:
parent
9e9963d765
commit
24321e311b
7 changed files with 34 additions and 17 deletions
|
@ -327,7 +327,7 @@ class parallel_tactic : public tactic {
|
|||
p.copy(m_params);
|
||||
double exp = pp.simplify_exp();
|
||||
exp = std::max(exp, 1.0);
|
||||
unsigned mult = static_cast<unsigned>(pow(exp, m_depth - 1));
|
||||
unsigned mult = static_cast<unsigned>(pow(exp, static_cast<double>(m_depth - 1)));
|
||||
unsigned max_conflicts = pp.simplify_max_conflicts();
|
||||
if (max_conflicts < 1000000)
|
||||
max_conflicts *= std::max(m_depth, 1u);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue