|
|
1.1 ! root 1: ! 2: ! 3: ! 4: BITOPS(2) Icon Program Library BITOPS(2) ! 5: ! 6: ! 7: ! 8: NNNNAAAAMMMMEEEE ! 9: bitops - operations on bit strings ! 10: ! 11: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ! 12: These procedures perform operations on characters strings of ! 13: zeros and ones (`bit strings') ! 14: ! 15: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ! 16: aaaannnndddd((((bbbb1111,,,,bbbb2222)))) logical `and' of bbbb1111 and bbbb2222 ! 17: bbbbiiiittttssssttttrrrriiiinnnngggg((((iiii)))) convert integer iiii to bit string ! 18: bbbbssssuuuummmm((((bbbb1111,,,,bbbb2222)))) arithmetic sum of bbbb1111 and bbbb2222 (used by other procedures) ! 19: ddddeeeecccciiiimmmmaaaallll((((bbbb)))) convert bbbb to integer ! 20: eeeexxxxoooorrrr((((bbbb1111,,,,bbbb2222)))) `exclusive-or' of bbbb1111 and bbbb2222 ! 21: nnnneeeegggg((((bbbb)))) negation of bbbb ! 22: oooorrrr((((bbbb1111,,,,bbbb2222)))) logical `or' of bbbb1111 and bbbb2222 ! 23: ! 24: NNNNOOOOTTTTEEEE ! 25: If iiii in bbbbiiiittttssssttttrrrriiiinnnngggg((((iiii)))) is negative, the value produced is the ! 26: corresponding unsigned 32-bit bit string. ! 27: ! 28: BBBBUUUUGGGGSSSS ! 29: Integer values that exceed those allowable in Icon may pro- ! 30: duce bogus results or spurious diagnostics. ! 31: ! 32: AAAAUUUUTTTTHHHHOOOORRRR ! 33: Ralph E. Griswold ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: Version 5.9 The University of Arizona - 6/28/83 1 ! 64: ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.