Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alowe
on Jan 18, 2021
|
parent
|
context
|
favorite
| on:
That XOR Trick (2020)
They're not saying swapping equal valued variables breaks it. It's when the pointer is the same, using the trick to swap a variable with itself will set the variable to 0.
Thorham
on Jan 18, 2021
[–]
Yeah, I miss-read that. Thanks for pointing that out!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: