Skip to content

Commit

Permalink
#I68EIJ 生成木兰:复现 幂 操作
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodxbodon committed Feb 5, 2024
1 parent d49b4dc commit 8ad405c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions 木兰/生成/木兰.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
Div: '/',
FloorDiv: '/',
Mod: '%',
Pow: '^',
}
布尔操作符 = {
And: 'and',
Expand Down
3 changes: 2 additions & 1 deletion 测试/unittest/源码生成/运算/四则.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
4 / 5
4 // 5
6 % 4
-5
-5
2 ** 3
3 changes: 2 additions & 1 deletion 测试/unittest/源码生成/运算/四则.ul
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
4 / 5
4 / 5
6 % 4
(-5)
(-5)
2 ^ 3

0 comments on commit 8ad405c

Please sign in to comment.