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 /doc/get-started.tex | |
| 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 'doc/get-started.tex')
| -rw-r--r-- | doc/get-started.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/get-started.tex b/doc/get-started.tex index 537b228..0b297ed 100644 --- a/doc/get-started.tex +++ b/doc/get-started.tex @@ -147,6 +147,9 @@ error code, you instead look at the return value. case ZERROR_NEGATIVE: fprintf(stderr, "Undefined (negative input)\verb|\|n"); \textcolor{c}{return 1;} + case ZERROR_INVALID_RADIX: + fprintf(stderr, "Radix must be at least 2\verb|\|n"); + \textcolor{c}{return 1;} default: zperror(""); \textcolor{c}{return 1;} @@ -228,7 +231,7 @@ for reuse. If you plan to reuse the variable later, you need to reinitialise it by calling {\tt zinit} again. -Alternatives to {\tt zseti} include: +Alternatives to {\tt zseti} include \psecref{sec:Assignment}: \begin{alltt} void zsetu(z_t a, uint64_t value); |
