|
|
BSD 4.3
.so tmac.ilib .TH BITOPS 2 "The University of Arizona \- 6/28/83" .SH NAME bitops \- operations on bit strings .SH DESCRIPTION These procedures perform operations on characters strings of zeros and ones (`bit strings') .SH SYNOPSIS .nf .ta 1.5i \*Mand(b1,b2)\fR logical `and' of \*Mb1\fR and \*Mb2\fR \*Mbitstring(i)\fR convert integer \*Mi\fR to bit string \*Mbsum(b1,b2)\fR arithmetic sum of \*Mb1\fR and \*Mb2\fR (used by other procedures) \*Mdecimal(b)\fR convert \*Mb\fR to integer \*Mexor(b1,b2)\fR `exclusive-or' of \*Mb1\fR and \*Mb2\fR \*Mneg(b)\fR negation of \*Mb\fR \*Mor(b1,b2)\fR logical `or' of \*Mb1\fR and \*Mb2\fR .SH NOTE If \*Mi\fR in \*Mbitstring(i)\fR is negative, the value produced is the corresponding unsigned 32-bit bit string. .SH BUGS Integer values that exceed those allowable in Icon may produce bogus results or spurious diagnostics. .SH AUTHOR Ralph E. Griswold
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.