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

would modern compilers not convert the simple boolean operations into clever bit twiddling hacks for you?