3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

Bugfix for fp.isNormal

This commit is contained in:
Christoph M. Wintersteiger 2015-05-20 18:32:40 +01:00
parent 1e3952406c
commit 51040d3e19
2 changed files with 4 additions and 2 deletions

View file

@ -1428,7 +1428,7 @@ bool mpf_manager::is_ninf(mpf const & x) {
}
bool mpf_manager::is_normal(mpf const & x) {
return !(has_top_exp(x) || is_denormal(x));
return !(has_top_exp(x) || is_denormal(x) || is_zero(x));
}
bool mpf_manager::is_denormal(mpf const & x) {