diff options
| author | Syndamia <kamen@syndamia.com> | 2026-05-28 15:44:24 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2026-07-12 09:14:06 +0300 |
| commit | 5d755f45e31d81d771140cfe5f3dbd13d5442bcd (patch) | |
| tree | c7a6b213eafd5f221db05052172ea6d3f9b5954c /BigInt.h | |
| parent | be67821d6fddfa97abb91188c6ef8799bff15c74 (diff) | |
| download | foollib-5d755f45e31d81d771140cfe5f3dbd13d5442bcd.tar foollib-5d755f45e31d81d771140cfe5f3dbd13d5442bcd.tar.gz foollib-5d755f45e31d81d771140cfe5f3dbd13d5442bcd.zip | |
feat: Implement comparisons
Diffstat (limited to 'BigInt.h')
| -rw-r--r-- | BigInt.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 */ |
