mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
more rewrite rules
This commit is contained in:
parent
bcad4d9435
commit
e63dc7efc2
5 changed files with 150 additions and 39 deletions
|
@ -500,7 +500,16 @@ inline bool operator>(int a, rational const & b) {
|
|||
}
|
||||
|
||||
|
||||
inline bool operator!=(rational const & a, int b) {
|
||||
inline bool operator>=(rational const& a, int b) {
|
||||
return a >= rational(b);
|
||||
}
|
||||
|
||||
inline bool operator>=(int a, rational const& b) {
|
||||
return rational(a) >= b;
|
||||
}
|
||||
|
||||
|
||||
inline bool operator!=(rational const& a, int b) {
|
||||
return !(a == rational(b));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue