1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright © 2026 Mikhail Hogrefe
//
// This file is part of Malachite.
//
// Malachite is free software: you can redistribute it and/or modify it under the terms of the GNU
// Lesser General Public License (LGPL) as published by the Free Software Foundation; either version
// 3 of the License, or (at your option) any later version. See <https://www.gnu.org/licenses/>.
/// Bitwise and of [`Integer`](super::Integer)s.
/// An implementation of [`BitAccess`](malachite_base::num::logic::traits::BitAccess), a trait for
/// getting and setting individual bits of a number.
/// An implementation of [`BitBlockAccess`](malachite_base::num::logic::traits::BitBlockAccess), a
/// trait for getting and setting adjacent blocks of bits in a number.
/// An implementation of [`BitConvertible`](malachite_base::num::logic::traits::BitConvertible), a
/// trait for extracting all bits from a number or constructing a number from bits.
/// An implementation of [`BitIterable`](malachite_base::num::logic::traits::BitIterable), a trait
/// for producing a double-ended iterator over a number's bits.
/// An implementation of [`BitScan`](malachite_base::num::logic::traits::BitScan), a trait for
/// finding the next `true` or `false` bit in a number after a provided index.
/// A function counting the number of ones in the binary representation of a number.
/// A function counting the number of zeros in the binary representation of a number.
/// An implementation of
/// [`CheckedHammingDistance`](malachite_base::num::logic::traits::CheckedHammingDistance), a trait
/// for computing the Hamming distance between two numbers.
/// An implementation of [`LowMask`](malachite_base::num::logic::traits::LowMask), a trait for
/// generating a low bit mask (a number in which only the $k$ least-significant bits are 1).
/// Bitwise negation of [`Integer`](super::Integer)s.
/// Bitwise or of [`Integer`](super::Integer)s.
/// An implementation of [`SignificantBits`](malachite_base::num::logic::traits::SignificantBits), a
/// trait for determining how many significant bits a number has.
/// An implementation of [`TrailingZeros`](malachite_base::num::logic::traits::TrailingZeros), a
/// trait for determining the number of zeros that a number ends with when written in binary.
/// Bitwise xor of [`Integer`](super::Integer)s.