bior


bior(a, b)
      

Return the bitwise inclusive or of the integers a and b.

The inputs are treated as if represented in two's complement, even if they are not represented that way internally.

Examples:


bior(5, 3)
// 7
bior(2, 8)
// 10
      

Also see:

bnot
band
bxor


Core Module Index | Contents