From d769c93ef5965aea956171b8622e976a0a7c2863 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 12 Jun 2026 12:14:34 +0300 Subject: feat(BigInt): Replace B_bytes with B_bits --- BigInt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BigInt.c') diff --git a/BigInt.c b/BigInt.c index ec4f4ee..3b05e7f 100644 --- a/BigInt.c +++ b/BigInt.c @@ -452,10 +452,10 @@ B_lshift(BigInt *intx, usize shift) { /* Get */ usize -B_bytes(const BigInt x) { +B_bits(const BigInt x) { if (NULL == x) return 0; - return B_metadata(x)->words * sizeof(UWord); + return B_metadata(x)->words * UWORD_BIT; } usize -- cgit v1.2.3