From a793df3e2a07c65f36fb2f5f43d2c51ab0c47bf2 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Wed, 10 Apr 2024 16:54:50 +0300 Subject: Added help message & fixed blocksize bug The bug was caused by integer overflow with too large precisions. --- intmath.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intmath.h') diff --git a/intmath.h b/intmath.h index 5d0b56b..b86ce72 100644 --- a/intmath.h +++ b/intmath.h @@ -1,5 +1,6 @@ int int_pown(unsigned int base, unsigned int exp); unsigned long long ull_pown(unsigned int base, unsigned int exp); +int int_logn(unsigned int base, unsigned int a); int int_pow10(unsigned int exp); int int_floor(int x, int precision); int int_ceil(int x, int precision); -- cgit v1.2.3