Skip to main content
bitwise

bitwise

1 8.6
An operation that acts on each small unit of a number called a bit separately
  • adjective
  • /ˈbɪtˌwaɪz/
  • Specialized
: a nivel de bits
  • To check if two numbers are equal, you can use a bitwise comparison in your code.

Examples

  • For better performance, consider using bitwise operators instead of arithmetic operations.

  • Using a bitwise operator to see if x > y

    Blog text (30)
  • So it takes the bitwise and of A&B, right?

  • If N, the number the user gave me ended with bitwise ended with my mask is true.

  • OK, so really I'm just saying, you know, think of these as like bit strings of length Q and adding them means bitwise bitwise XOR.

  • You've got bitwise AND, bitwise OR, bitwise XOR, bitwise negation, and shift left and shift right.

  • In programming, the bitwise operations allow manipulation of individual bits in binary numbers.

Surface Forms

bitwise positive

Morphology

bitwise = bit (transparent) = bit + wise

Formed by the productive suffix '-wise' attached to 'bit' to mean 'in terms of bits', a directly derivable meaning for learners familiar with the components.

Etymology

Bitwise is made of bit and the ending wise; a bit is the smallest piece of computer information (a 0 or 1) and wise means 'in the way of', as in clockwise. So to do something bitwise is to do it 'in the way of bits', that is, to work on each little 0 or 1 separately.