libzahl

big integer library
git clone git://git.suckless.org/libzahl
Log | Files | Refs | README | LICENSE

commit 53f835608d2bfbf6e71a7e699486e79e58a7fcbb
parent bf7a5e6f981dffed319c8d2ba46304ea64fc58bb
Author: Mattias Andrée <maandree@kth.se>
Date:   Sun,  1 May 2016 14:39:13 +0200

refsheet: a <- sgn b: use ~ between sgn and b

Signed-off-by: Mattias Andrée <maandree@kth.se>

Diffstat:
Mdoc/refsheet.tex | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/refsheet.tex b/doc/refsheet.tex @@ -128,7 +128,7 @@ Unless specified otherwise, returns are {\tt void} and all parameters are of typ %\\ \textbf{Number theory} \\ -\entry{zsignum(a, b)} {$a \gets \mbox{sgn} b$} {} +\entry{zsignum(a, b)} {$a \gets \mbox{sgn}~b$} {} \entry{zeven(a)} {Is $a$ even?} {returns {\tt int} 1 (true) or 0 (false)} \entry{zeven\_nonzero(a)} {Is $a$ even?} {ditto, assumes $a \neq 0$} \entry{zodd(a)} {Is $a$ odd?} {returns {\tt int} 1 (true) or 0 (false)}