commit 8d75926fa5b89788515c2d06c621f74e286b0fbc
parent d714b7adc9fc6f52feaedd12d41cd4bedb51698f
Author: Mattias Andrée <maandree@kth.se>
Date: Mon, 9 May 2016 21:39:06 +0200
Typo fixes by Marc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/get-started.tex b/doc/get-started.tex
@@ -178,7 +178,7 @@ jump, call {\tt setjmp} and {\tt zsetup} again.
To do any real work with libzahl, we need integers. The
data type for a big integer in libzahl is {\tt z\_t}
\psecref{sec:Integer structure}. Before a {\tt z\_t}
-can be assign a value, it must be initialised.
+can be assigned a value, it must be initialised.
\begin{alltt}
z_t a;
diff --git a/doc/what-is-libzahl.tex b/doc/what-is-libzahl.tex
@@ -143,7 +143,7 @@ Additionally, libzahl tries to keep the functions'
names simple and natural rather than techniqual or
mathematical. The names resemble those of the standard
integer operators. For example, the left-shift, right-shift
-and truncation bit-operations in libzahl is called
+and truncation bit-operations in libzahl are called
{\tt zlsh}, {\tt zrsh} and {\tt ztrunc}, respectively.
In GNU MP, they are called {\tt mpz\_mul\_2exp},
{\tt mpz\_tdiv\_q\_2exp} and {\tt mpz\_tdiv\_r\_2exp}.