Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
91cf7966
Unverified
Commit
91cf7966
authored
Dec 17, 2025
by
Kuris
Committed by
GitHub
Dec 17, 2025
Browse files
[Analyzer] Fix floordiv & floormod bug in z3 prover (#1458)
* fix floordiv & floormod in z3 prover * fix lint error
parent
3ee0939b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
testing/python/arith/test_arith_hard.py
testing/python/arith/test_arith_hard.py
+8
-0
No files found.
testing/python/arith/test_arith_hard.py
View file @
91cf7966
...
...
@@ -93,5 +93,13 @@ def test_bind():
raise
e
def
test_divmod
():
analyzer
=
Analyzer
()
a
=
T
.
Var
(
"a"
,
T
.
int32
)
assert
not
analyzer
.
can_prove
(
a
%
2
%
-
2
-
a
%
2
==
0
)
assert
analyzer
.
can_prove
(
a
%
-
2
%
2
-
a
%
2
==
0
)
if
__name__
==
"__main__"
:
tilelang
.
testing
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment