XOR Swap Algorithm
CHF 43.00
Auf Lager
SKU
IGKSUJLPPH7
Geliefert zwischen Mi., 29.10.2025 und Do., 30.10.2025
Details
High Quality Content by WIKIPEDIA articles! In computer programming, the XOR swap is an algorithm that uses the XOR bitwise operation to swap values of distinct variables having the same data type without using a temporary variable. "Distinct" means that the variables are stored at distinct memory addresses; the actual values of the variables do not have to be different. Conventional swapping requires the use of a temporary storage variable. Using the XOR swap algorithm, however, no temporary storage is needed. The algorithm typically corresponds to three machine code instructions. Since XOR is a commutative operation, X XOR Y can be replaced with Y XOR X in any of the lines.
Weitere Informationen
- Allgemeine Informationen
- GTIN 09786131058691
- Editor Lambert M. Surhone, Miriam T. Timpledon, Susan F. Marseken
- EAN 9786131058691
- Format Fachbuch
- Titel XOR Swap Algorithm
- Herausgeber Betascript Publishing
- Anzahl Seiten 80
- Genre Informatik
Bewertungen
Schreiben Sie eine Bewertung