diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-05-11 16:10:53 +0200 |
| commit | a36227cae9c9983faad42f98c3aa79c7a0d863a0 (patch) | |
| tree | 02a9f7a881340a87e35933ba9eb89a10dd9f5f6d /doc/arithmetic.tex | |
| parent | zdivmod: minor correction (diff) | |
| download | libzahl-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.tex | 52 |
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 |
