mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
8118292def
commit
eacde16b3e
5 changed files with 14 additions and 14 deletions
|
@ -1189,6 +1189,8 @@ void mpf_manager::to_sbv_mpq(mpf_rounding_mode rm, const mpf & x, scoped_mpq & o
|
|||
|
||||
set(t, x);
|
||||
unpack(t, true);
|
||||
if (t.exponent() >= INT_MAX)
|
||||
throw default_exception("exponents over 31 bits are not supported");
|
||||
|
||||
SASSERT(t.exponent() < INT_MAX);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue