aboutsummaryrefslogtreecommitdiffstats
path: root/zahl.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
committerMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
commita36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch)
tree02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /zahl.h
parentzdivmod: minor correction (diff)
downloadlibzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.gz
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.bz2
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.xz
Work on the manual and zstr_length checks that the radix is valid
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'zahl.h')
-rw-r--r--zahl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zahl.h b/zahl.h
index 0ca0565..b224338 100644
--- a/zahl.h
+++ b/zahl.h
@@ -50,7 +50,8 @@ enum zerror {
ZERROR_0_POW_0, /* Indeterminate form: 0:th power of 0. (Translatable to EDOM.) */
ZERROR_0_DIV_0, /* Indeterminate form: 0 divided by 0. (Translatable to EDOM.) */
ZERROR_DIV_0, /* Undefined result: Division by 0. (Translatable to EDOM.) */
- ZERROR_NEGATIVE /* Argument must be non-negative. (Translatable to EDOM or EINVAL.) */
+ ZERROR_NEGATIVE, /* Argument must be non-negative. (Translatable to EDOM or EINVAL.) */
+ ZERROR_INVALID_RADIX /* Radix must be at least 2. (Translatable to EINVAL.) */
};