File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / cat2 / bitops.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3




BITOPS(2)             Icon Program Library              BITOPS(2)



NNNNAAAAMMMMEEEE
     bitops - operations on bit strings

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     These procedures perform operations on characters strings of
     zeros and ones (`bit strings')

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     aaaannnndddd((((bbbb1111,,,,bbbb2222))))     logical `and' of bbbb1111 and bbbb2222
     bbbbiiiittttssssttttrrrriiiinnnngggg((((iiii))))   convert integer iiii to bit string
     bbbbssssuuuummmm((((bbbb1111,,,,bbbb2222))))    arithmetic sum of bbbb1111 and bbbb2222 (used by other procedures)
     ddddeeeecccciiiimmmmaaaallll((((bbbb))))     convert bbbb to integer
     eeeexxxxoooorrrr((((bbbb1111,,,,bbbb2222))))    `exclusive-or' of bbbb1111 and bbbb2222
     nnnneeeegggg((((bbbb))))         negation of bbbb
     oooorrrr((((bbbb1111,,,,bbbb2222))))      logical `or' of bbbb1111 and bbbb2222

NNNNOOOOTTTTEEEE
     If iiii in bbbbiiiittttssssttttrrrriiiinnnngggg((((iiii)))) is negative, the value produced is the
     corresponding unsigned 32-bit bit string.

BBBBUUUUGGGGSSSS
     Integer values that exceed those allowable in Icon may pro-
     duce bogus results or spurious diagnostics.

AAAAUUUUTTTTHHHHOOOORRRR
     Ralph E. Griswold





























Version 5.9    The University of Arizona - 6/28/83              1




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.