We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f88ec commit 3b128a2Copy full SHA for 3b128a2
DevUtils/test_qword.py
@@ -76,7 +76,7 @@ def gt_uint32(a: int, b: int) -> bool:
76
ltb = ltb | (ltb >> 8)
77
ltb = ltb | (ltb >> 16)
78
79
- return gtb & ~ltb
+ return bool(gtb & ~ltb)
80
81
82
# FCryptoQWORD::IsLt_AsUInt32
@@ -90,7 +90,7 @@ def lt_uint32(a: int, b: int) -> bool:
90
gtb = gtb | (gtb >> 8)
91
gtb = gtb | (gtb >> 16)
92
93
- return ltb & ~gtb
+ return bool(ltb & ~gtb)
94
95
96
# FCryptoQWORD::FCQWORD16_AddInt without carry return.
@@ -134,6 +134,8 @@ def qword16_sub_int(qw: QWord16, x: int) -> QWord16:
134
qw.a -= 0x1
135
qw.b += 0xf
136
137
+ # TODO: a missing step here?
138
+
139
return qw
140
141
0 commit comments