Annotation of cci/usr/src/man/man3/bit.3f, revision 1.1.1.1

1.1       root        1: .TH BIT 3F "13 June 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: bit \- and, or, xor, not, rshift, lshift bitwise functions
                      5: .SH SYNOPSIS
                      6: .B (intrinsic) function and (word1, word2)
                      7: .sp 1
                      8: .B (intrinsic) function or (word1, word2)
                      9: .sp 1
                     10: .B (intrinsic) function xor (word1, word2)
                     11: .sp 1
                     12: .B (intrinsic) function not (word)
                     13: .sp 1
                     14: .B (intrinsic) function rshift (word, nbits)
                     15: .sp 1
                     16: .B (intrinsic) function lshift (word, nbits)
                     17: .SH DESCRIPTION
                     18: These bitwise functions are built into the compiler and return
                     19: the data type of their argument(s).
                     20: It is recommended that their arguments be
                     21: .B integer
                     22: values;
                     23: inappropriate manipulation of
                     24: .B real
                     25: objects may cause unexpected results.
                     26: .PP
                     27: The bitwise combinatorial functions return the
                     28: bitwise ``and'' (\fBand\fR), ``or'' (\fBor\fR), or ``exclusive or'' (\fBxor\fR)
                     29: of two operands.
                     30: .B Not
                     31: returns the bitwise complement of its operand.
                     32: .PP
                     33: .IR Lshift ,
                     34: or
                     35: .I rshift
                     36: with a negative
                     37: .IR nbits ,
                     38: is a logical left shift with no end around carry.
                     39: .IR Rshift ,
                     40: or
                     41: .I lshift
                     42: with a negative
                     43: .IR nbits ,
                     44: is an arithmatic right shift with sign extension.
                     45: No test is made for a reasonable value of
                     46: .I nbits.
                     47: .SH FILES
                     48: These functions are generated in-line by the f77 compiler.

unix.superglobalmegacorp.com

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