diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
| commit | a36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch) | |
| tree | 02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /zahl.h | |
| parent | zdivmod: minor correction (diff) | |
| download | libzahl-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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.) */ }; |
