aboutsummaryrefslogtreecommitdiffstats
path: root/doc/arithmetic.tex
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
committerMattias Andrée <maandree@kth.se>2016-05-11 16:10:53 +0200
commita36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch)
tree02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /doc/arithmetic.tex
parentzdivmod: minor correction (diff)
downloadlibzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.gz
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.bz2
libzahl-a36227cae9c9983faad42f98c3aa79c7a0d863a0.tar.xz
Work on the manual and zstr_length checks that the radix is valid
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'doc/arithmetic.tex')
-rw-r--r--doc/arithmetic.tex52
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/arithmetic.tex b/doc/arithmetic.tex
new file mode 100644
index 0000000..0cbc25d
--- /dev/null
+++ b/doc/arithmetic.tex
@@ -0,0 +1,52 @@
+\chapter{Arithmetic}
+\label{chap:Arithmetic}
+
+In this chapter, we will learn how to perform basic
+arithmetic with libzahl: addition, subtraction,
+multiplication, division, modulus, exponentiation,
+and Sign manipulation.
+
+\vspace{1cm}
+\minitoc
+
+
+\newpage
+\section{Addition}
+\label{sec:Addition}
+
+TODO % zadd
+
+
+\newpage
+\section{Subtraction}
+\label{sec:Subtraction}
+
+TODO % zsub
+
+
+\newpage
+\section{Multiplication}
+\label{sec:Multiplication}
+
+TODO % zmul zmodmul
+
+
+\newpage
+\section{Division}
+\label{sec:Division}
+
+TODO % zdiv zmod zdivmod
+
+
+\newpage
+\section{Exponentiation}
+\label{sec:Exponentiation}
+
+TODO % zpow zpowu zmodpow zmodpowu
+
+
+\newpage
+\section{Sign manipulation}
+\label{sec:Sign manipulation}
+
+TODO % zabs zneg