Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bit-functions-and-operators.md
Browse files Browse the repository at this point in the history
qiancai committed Aug 2, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Falci Fernando Falci
1 parent 6960584 commit ae4f050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions-and-operators/bit-functions-and-operators.md
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ SELECT BIT_COUNT(INET_ATON('255.255.255.0'));
1 row in set (0.00 sec)
```

## [<code>&</code> (bitwise AND)](https://dev.mysql.com/doc/refman/8.0/en/bit-functions.html#operator_bitwise-and)
## [`&` (bitwise AND)](https://dev.mysql.com/doc/refman/8.0/en/bit-functions.html#operator_bitwise-and)

The `&` operator performs a bitwise AND operation. It compares the corresponding bits of two numbers: if both corresponding bits are 1, the corresponding bit of the result is 1; otherwise, it is 0.

0 comments on commit ae4f050

Please sign in to comment.