From 5d755f45e31d81d771140cfe5f3dbd13d5442bcd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 28 May 2026 15:44:24 +0300 Subject: feat: Implement comparisons --- BigInt.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'BigInt.h') diff --git a/BigInt.h b/BigInt.h index d894b35..89cb3ab 100644 --- a/BigInt.h +++ b/BigInt.h @@ -37,4 +37,11 @@ usize B_bytes(BigInt x); usize B_bitwidth(BigInt x); char* B_tostr(MemoryManager *mm, BigInt x); +int B_eq(const BigInt x, const BigInt y); +int B_not_eq(const BigInt x, const BigInt y); +int B_lt(const BigInt x, const BigInt y); +int B_le(const BigInt x, const BigInt y); +int B_gt(const BigInt x, const BigInt y); +int B_ge(const BigInt x, const BigInt y); + #endif /* _BIGINT */ -- cgit v1.2.3