commit 2864613b162ed4c7a28a79c8c4dcd24893cc2128
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Thu Jul 28 15:05:18 2016 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Thu Jul 28 15:05:18 2016 +0200
Fix spacing
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/doc/exercises.tex b/doc/exercises.tex
index 757788b..94d780a 100644
--- a/doc/exercises.tex
+++ b/doc/exercises.tex
_AT_@ -179,10 +179,10 @@ For improved performance, instead of using \texttt{zmod},
you can use the recursive function
%
\( \displaystyle{
- k \mod (2^n - 1) =
+ k \text{ mod } (2^n - 1) =
\left (
- (k \mod 2^n) + \lfloor k \div 2^n \rfloor
- \right ) \mod (2^n - 1),
+ (k \text{ mod } 2^n) + \lfloor k \div 2^n \rfloor
+ \right ) \text{ mod } (2^n - 1),
}\)
%
where $k \mod 2^n$ is efficiently calculated
Received on Thu Jul 28 2016 - 15:05:30 CEST
This archive was generated by hypermail 2.3.0
: Thu Jul 28 2016 - 15:12:17 CEST