mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 18:45:33 +00:00
check underflows, aig fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
82cacdf569
commit
0d614b8c36
3 changed files with 16 additions and 33 deletions
|
@ -640,6 +640,8 @@ public:
|
|||
void set(mpq & a, int n, int d) {
|
||||
SASSERT(d != 0);
|
||||
if (d < 0) {
|
||||
SASSERT(d != INT_MIN);
|
||||
SASSERT(n != INT_MIN);
|
||||
n = -n;
|
||||
d = -d;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue