mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +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
|
@ -78,7 +78,7 @@ namespace ba {
|
|||
}
|
||||
}
|
||||
if (k >= slack) return 1;
|
||||
return pow(0.5, slack - k + 1) * to_add;
|
||||
return pow(0.5, static_cast<double>(slack - k + 1)) * to_add;
|
||||
}
|
||||
|
||||
std::ostream& card::display(std::ostream& out) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue