aboutsummaryrefslogtreecommitdiff
path: root/builtins
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-13 01:45:05 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-13 01:45:05 -0400
commita32d90fcd737a27fd2d098a8d81b5965917439cf (patch)
tree44f97520f4dc6a8e8ea385e0c1bd2b1ee090cfc5 /builtins
parent21fd5c8195be5faf20d8bc7ce3ba6cd8d26c8b29 (diff)
Remove debug prints
Diffstat (limited to 'builtins')
-rw-r--r--builtins/integers.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/builtins/integers.c b/builtins/integers.c
index d087cd39..8bc66172 100644
--- a/builtins/integers.c
+++ b/builtins/integers.c
@@ -49,12 +49,8 @@ public int32_t Int$compare(const Int_t *x, const Int_t *y, const TypeInfo *type)
}
public int32_t Int$compare_value(const Int_t x, const Int_t y) {
- CORD_printf("comparing values %r vs %r\n", Int$as_text(&x, true, NULL), Int$as_text(&y, true, NULL));
- printf("comparing values %p vs %p\n", x.big, y.big);
- if (__builtin_expect(((x.small & y.small) & 1) == 0, 0)) {
- printf("MPZ comparing\n");
+ if (__builtin_expect(((x.small & y.small) & 1) == 0, 0))
return mpz_cmp(*x.big, *y.big);
- }
return (x.small > y.small) - (x.small < y.small);
}