Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ganafagol
on Jan 19, 2021
|
parent
|
context
|
favorite
| on:
That XOR Trick (2020)
Worse. The zero problem does not exist if the two variables are at different memory locations. The overflow problem of this solution always exists. Plus, if a and b are at the same memory location, it suffers from the same zero problem.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: