From d133f10c9a98c10f60df827e134f45f56e6ad0a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Mar 2016 22:12:17 +0100 Subject: znot man page: notes on representation and tendness toward zero MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/znot.3 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'man') diff --git a/man/znot.3 b/man/znot.3 index f33bc28..99d7b40 100644 --- a/man/znot.3 +++ b/man/znot.3 @@ -18,6 +18,24 @@ It is safe to call .B znot with .IR "(a==b)" . +.SH NOTES +Be aware, the following code will halt for any input +.P +.nf +#include + +void +silly(z_t a) +{ + while (!zzero(a)) + znot(a, a); +} +.fi +.P +Also note that +.B z_t +uses neither two's complement, ones' complement, nor +sign-and-magnitude. .SH SEE ALSO .BR zand (3), .BR zor (3), -- cgit v1.2.3-70-g09d2