big: Use new comparison helpers.
This commit is contained in:
1 parent
335d361fc6
commit
671b413b15
5 files changed
+41
-46
No files matched your search
@@ -163,7 +163,7 @@ internal_int_kronecker :: proc(a, p: ^Int, allocator := context.allocator) -> (k
|
||||
|
||||
for {
|
||||
if internal_is_zero(a1) {
|
||||
if internal_cmp(p1, 1) == 0 {
|
||||
if internal_eq(p1, 1) {
|
||||
return k, nil;
|
||||
} else {
|
||||
return 0, nil;
|
||||
|
||||
Reference in new issue
Block a user