From 5990e4e42754a84edfaed2a31ee5cea3c4c9d9b1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 2 Jun 2016 12:06:27 +0200 Subject: Some comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/what-is-libzahl.tex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'doc/what-is-libzahl.tex') 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 -- cgit v1.2.3-70-g09d2