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