[expr.bit.and]

# 7 Expressions [[expr]](./#expr)

## 7.6 Compound expressions [[expr.compound]](expr.compound#expr.bit.and)

### 7.6.11 Bitwise AND operator [expr.bit.and]

[and-expression:](#nt:and-expression "7.6.11 Bitwise AND operator [expr.bit.and]")  
[*equality-expression*](expr.eq#nt:equality-expression "7.6.10 Equality operators [expr.eq]")  
[*and-expression*](#nt:and-expression "7.6.11 Bitwise AND operator [expr.bit.and]") & [*equality-expression*](expr.eq#nt:equality-expression "7.6.10 Equality operators [expr.eq]")

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L7668)

The & operator groups left-to-right[.](#1.sentence-1)

The operands shall be of integral or unscoped enumeration type[.](#1.sentence-2)

The usual arithmetic conversions ([[expr.arith.conv]](expr.arith.conv "7.4 Usual arithmetic conversions")) are performed[.](#1.sentence-3)

Given the coefficients xi and yi of the base-2 representation ([[basic.fundamental]](basic.fundamental "6.9.2 Fundamental types"))
of the converted operands x and y,
the coefficient ri of the base-2 representation of the result r is 1 if both xi and yi are 1, and 0 otherwise[.](#1.sentence-4)

[*Note [1](#note-1)*:

The result is the bitwise and function of the operands[.](#1.sentence-5)

â *end note*]
