summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkx <kx@radix-linux.su>2026-09-15 10:10:30 +0300
committerkx <kx@radix-linux.su>2026-09-15 10:10:30 +0300
commit3d8159afc2ac9014b8f66af941c5a27b1bd5ec64 (patch)
tree2ca2e867dfda86ab19ab9f87afd9ed42d444b73e /include
parent0ec85de742ea67f70d8788b8f8d3947b3c49cddc (diff)
downloadlibmpu-3d8159afc2ac9014b8f66af941c5a27b1bd5ec64.tar.xz
New function _int_digs(nb) - max number of decimal digits for an unsigned integer occupying NB bytes, plus one byte for '\0'.
Diffstat (limited to 'include')
-rw-r--r--include/libmpu.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libmpu.h.in b/include/libmpu.h.in
index 4a08870..8b3fa08 100644
--- a/include/libmpu.h.in
+++ b/include/libmpu.h.in
@@ -529,6 +529,7 @@ extern void ipowm1_mod ( mpu_int *c, mpu_int *a, mpu_int *m, int nb );
#define LOWERCASE 0
#define UPPERCASE 1
+extern int _int_digs( int nb );
extern void iatoi ( mpu_int *c, __mpu_char8_t *str, int nb );
extern void iatoui ( mpu_int *c, __mpu_char8_t *str, int nb );