Files
swift-mirror/stdlib/stdlib.docc/binary-integer-operators.md
Graham Lee 9ead8781d4 Add .docc catalog to publish stdlib docs on swift.org
Co-authored-by: Alex Martini <amartini@apple.com>
Co-authored-by: Graham Lee <glee23@apple.com>
Co-authored-by: Chris Adamson <cadamson@apple.com>
Co-authored-by: Kirby Turner <kirby_turner@apple.com>
Co-authored-by: Paris Pinkney <ppinkney@apple.com>
Co-authored-by: Dave Spector <dspector@apple.com>
Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com>
Co-authored-by: Ethan Kusters <ekusters@apple.com>
Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com>
Co-authored-by: Adora Vaz <a_vaz@apple.com>
Co-authored-by: David Rönnqvist <ronnqvist@apple.com>
Co-authored-by: Nate Merseth Cook <natecook@apple.com>
Co-authored-by: Susan Conant <susan_c@apple.com>
2026-04-10 10:04:56 -04:00

44 lines
1.1 KiB
Markdown

# Binary Integer Operators
Perform arithmetic and bitwise operations or compare values.
## Topics
### Arithmetic
- ``Swift/BinaryInteger/+(_:_:)``
- ``Swift/BinaryInteger/-(_:_:)``
- ``Swift/BinaryInteger/*(_:_:)``
- ``Swift/BinaryInteger//(_:_:)``
- ``Swift/BinaryInteger/%(_:_:)-30ngi``
### Arithmetic with Assignment
- ``Swift/BinaryInteger/+=(_:_:)``
- ``Swift/BinaryInteger/-=(_:_:)``
- ``Swift/BinaryInteger/*=(_:_:)``
- ``Swift/BinaryInteger//=(_:_:)``
- ``Swift/BinaryInteger/%=(_:_:)-79wgi``
### Bitwise Operations
- ``Swift/BinaryInteger/&(_:_:)-sk15``
- ``Swift/BinaryInteger/&=(_:_:)``
- ``Swift/BinaryInteger/|(_:_:)-6qhsw``
- ``Swift/BinaryInteger/|=(_:_:)-4vfmj``
- ``Swift/BinaryInteger/^(_:_:)-3qw5d``
- ``Swift/BinaryInteger/^=(_:_:)-1fatv``
- ``Swift/BinaryInteger/~(_:)``
### Bit Shift
- ``Swift/BinaryInteger/<<(_:_:)-28lmu``
- ``Swift/BinaryInteger/<<=(_:_:)-9pzpp``
- ``Swift/BinaryInteger/>>(_:_:)-4vnij``
- ``Swift/BinaryInteger/>>=(_:_:)-5lhky``
### Comparison
- ``Swift/BinaryInteger/!=(_:_:)-(_,Self)``
- ``Swift/BinaryInteger/!=(_:_:)-(_,Other)``