0%

bit mask

B b

Transcription

    • US Pronunciation
    • US IPA
    • US Pronunciation
    • US IPA

Definition of bit mask words

  • noun Technical meaning of bit mask (programming)   A pattern of binary values which is combined with some value using bitwise AND with the result that bits in the value in positions where the mask is zero are also set to zero. For example, if, in C, we want to test if bits 0 or 2 of x are set, we can write int mask = 5; /* binary 101 */ if (x & mask) ... A bit mask might also be used to set certain bits using bitwise OR, or to invert them using bitwise exclusive OR. 1

Information block about the term

Parts of speech for Bit mask

noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation

See also

Matching words

Was this page helpful?
Yes No
Thank you for your feedback! Tell your friends about this page
Tell us why?