.TH ZNOT 3 libzahl .SH NAME znot - Calculate the bitwise complement of a big integer .SH SYNOPSIS .nf #include void znot(z_t \fIa\fP, z_t \fIb\fP); .fi .SH DESCRIPTION .B znot calculates the bitwise complement of .I b and stores the result in .IR a . .P 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), .BR zxor (3), .BR zlsh (3), .BR zrsh (3), .BR zsplit (3), .BR zbtest (3), .BR zbset (3), .BR zlsb (3), .BR zbits (3)