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:
parent
1e3952406c
commit
51040d3e19
2 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue