commit 5c70306f2f5e4a5c6dfdd4ea5111be5054a98849
parent 8da0f029eefe3dab9ec726d5207c888df4081c8b
Author: Mattias Andrée <maandree@kth.se>
Date: Sun, 19 Jun 2016 03:26:50 +0200
Manual: fix sign of example for zxor
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/bit-operations.tex b/doc/bit-operations.tex
@@ -296,7 +296,7 @@ example (integers are in binary):
zxor(r, a, b) znot(r, a)
a = +1010 (input) a = +1010 (input)
b = -1100 (input) r = -0101 (output)
- r = +0110 (output)
+ r = -0110 (output)
\end{alltt}
Remember, in libzahl, integers are represented