mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
parent
5540d738ab
commit
99ea0a8c19
1 changed files with 2 additions and 2 deletions
|
@ -1350,11 +1350,11 @@ bool mpf_manager::is_ninf(mpf const & x) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool mpf_manager::is_normal(mpf const & x) {
|
bool mpf_manager::is_normal(mpf const & x) {
|
||||||
return !is_zero(x) && has_bot_exp(x);
|
return !(has_top_exp(x) || is_denormal(x));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool mpf_manager::is_denormal(mpf const & x) {
|
bool mpf_manager::is_denormal(mpf const & x) {
|
||||||
return has_bot_exp(x);
|
return !is_zero(x) && has_bot_exp(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool mpf_manager::is_int(mpf const & x) {
|
bool mpf_manager::is_int(mpf const & x) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue