diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-10 16:54:50 +0300 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-11 16:01:36 +0300 |
commit | a793df3e2a07c65f36fb2f5f43d2c51ab0c47bf2 (patch) | |
tree | 49858b1ef415ce16c843c4fbb4ab7eccaa73033d /intmath.h | |
parent | 4ff6a08d73f0ef1e2fcb7a93a74cc6fa66c24e2b (diff) | |
download | stdu-a793df3e2a07c65f36fb2f5f43d2c51ab0c47bf2.tar.gz stdu-a793df3e2a07c65f36fb2f5f43d2c51ab0c47bf2.zip |
Added help message & fixed blocksize bug
The bug was caused by integer overflow with too large precisions.
Diffstat (limited to 'intmath.h')
-rw-r--r-- | intmath.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |