diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-06-02 12:06:27 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-06-02 12:06:32 +0200 |
| commit | 5990e4e42754a84edfaed2a31ee5cea3c4c9d9b1 (patch) | |
| tree | 6219378c37a990e72de700061b072807a8c150ea /doc/what-is-libzahl.tex | |
| parent | Manual: simplify license (diff) | |
| download | libzahl-5990e4e42754a84edfaed2a31ee5cea3c4c9d9b1.tar.gz libzahl-5990e4e42754a84edfaed2a31ee5cea3c4c9d9b1.tar.bz2 libzahl-5990e4e42754a84edfaed2a31ee5cea3c4c9d9b1.tar.xz | |
Some comments
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | doc/what-is-libzahl.tex | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/what-is-libzahl.tex b/doc/what-is-libzahl.tex index 46998bc..2e4a73f 100644 --- a/doc/what-is-libzahl.tex +++ b/doc/what-is-libzahl.tex @@ -15,8 +15,8 @@ what is its limitations. \label{sec:The name and the what} In mathematics, the set of all integers is represented -by a bold uppercase `Z' ({\bf Z}), or sometimes -double-stroked (blackboard bold) ($\mathbb{Z}$). This symbol +by a bold uppercase `Z' ({\bf Z}), or sometimes % proper symbol +double-stroked (blackboard bold) ($\mathbb{Z}$). This symbol % hand-written style, specially on whiteboards and blackboards is derived from the german word for integers: `Zahlen' [\textprimstress{}tsa\textlengthmark{}l\textschwa{}n], whose singular is `Zahl' [tsa\textlengthmark{}l]. libzahl @@ -100,8 +100,8 @@ followed by output parameters, and output parameters followed by input parameters. The former variant is the conventional for C functions. The latter is more in style with primitive operations, pseudo-code, mathematics, and -how it would look if the output was return. In libzahl, -the latter convention is used. That is, we write +how it would look if the output was return. In libzahl, the +latter convention is used. That is, we write \begin{alltt} zadd(sum, augend, addend); @@ -129,8 +129,9 @@ $augend + addend \rightarrow sum$. \vspace{1em} libzahl, GNU MP, and Hebimath use the output-first -convention. LibTomMath and TomsFastMath use the -input-first convention. +convention.\footnote{GNU MP-style.} LibTomMath and +TomsFastMath use the input-first convention.\footnote{BSD +MP-style.} Unlike other bignum libraries, errors in libzahl are caught using {\tt setjmp}. This ensure that it can be |
