Y
Hacker News
new
|
ask
|
show
|
jobs
by
AeZ1E
662 days ago
with this bitwise magic, my code will find the sign faster than you can say "boolean operation!" who needs branching when you've got clever tricks up your sleeve? hate to say it, but this beats the obvious way, hands down!
1 comments
abc123def456
662 days ago
would modern compilers not convert the simple boolean operations into clever bit twiddling hacks for you?
link