20% off all books with the code: BOOKS
  • check 10+ million books
  • check New arrivals every day
  • check Trusted by 1M+ customers
  • check Great prices & discounts
  • check Shipping across Europe

XOR Swap Algorithm: Computer Programming, Bitwise Operation, Data Type, Variable (Programming), Algorithm -

English
2026-03-15
€156.58 €195.73

-20% with code BOOKS

In stock at our supplier

Shipping in 15-21 days

30-day return policy

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 u ... Full description

You May Also Like

Description

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.

More Information

Publisher OmniScriptum
Release year 2026
Cover type Softcover
EAN 9786131058691
Write Your Own Review
You're reviewing: XOR Swap Algorithm: Computer Programming, Bitwise Operation, Data Type, Variable (Programming), Algorithm
Your Rating:

Goodreads Reviews

€156.58 €195.73