aboutsummaryrefslogtreecommitdiffstats
path: root/doc/arithmetic.tex
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-13 04:38:09 +0200
committerMattias Andrée <maandree@kth.se>2016-05-13 04:38:09 +0200
commit16a001c8fe4e5ca99d5aafdd8ed02a35f09b6caa (patch)
treefe1116e5d8ce39e032c777003caa6d03ce667c78 /doc/arithmetic.tex
parentExponentiation: clarification of a mathematical expression (diff)
downloadlibzahl-16a001c8fe4e5ca99d5aafdd8ed02a35f09b6caa.tar.gz
libzahl-16a001c8fe4e5ca99d5aafdd8ed02a35f09b6caa.tar.bz2
libzahl-16a001c8fe4e5ca99d5aafdd8ed02a35f09b6caa.tar.xz
Miscellaneous stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'doc/arithmetic.tex')
-rw-r--r--doc/arithmetic.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/arithmetic.tex b/doc/arithmetic.tex
index e90f607..52eae11 100644
--- a/doc/arithmetic.tex
+++ b/doc/arithmetic.tex
@@ -186,8 +186,9 @@ can be expressed as a simple formula
\vspace{-1em}
\[ \hspace*{-0.4cm}
- a^b = \prod_{i = 0}^{\lceil \log_2 b \rceil}
- \left ( a^{2^i} \right )^{\left \lfloor {\displaystyle{b \over 2^i}} \hspace*{-1ex} \mod 2 \right \rfloor}
+ a^b =
+ \prod_{k \in \textbf{Z}_{+} ~:~ \left \lfloor {b \over 2^k} \hspace*{-1ex} \mod 2 \right \rfloor = 1}
+ a^{2^k}
\]
\noindent