We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z3/src/math/dd/dd_bdd.cpp
Line 321 in 8439057
Line 342 in 8439057
Doing equality/inequality judgement on doubles is not a best practice.
There are lots of discussions on stackoverflow.
void bdd_manager::sift_var(unsigned v) { unsigned lvl = m_var2level[v]; unsigned start = lvl; double best_cost = current_cost(); ... while (current_cost() != best_cost) { // do equality/inequality judgement on doubles sift_up(--lvl); } ... }
Reported by: USTCHCS Analysis Toolsuite Bugfinder (bugfinder-5.15: Avoid doing equality comparisons between floating expressions.)
The text was updated successfully, but these errors were encountered:
fix #4624 #4633 #4632 #4631
c41abf2
Signed-off-by: Nikolaj Bjorner <[email protected]>
No branches or pull requests
z3/src/math/dd/dd_bdd.cpp
Line 321 in 8439057
z3/src/math/dd/dd_bdd.cpp
Line 342 in 8439057
Doing equality/inequality judgement on doubles is not a best practice.
There are lots of discussions on stackoverflow.
Reported by: USTCHCS Analysis Toolsuite Bugfinder
(bugfinder-5.15: Avoid doing equality comparisons between floating expressions.)
The text was updated successfully, but these errors were encountered: