Hacker News new | ask | show | jobs
by madhato 2241 days ago
Is there an advantage of using multiply by .5 versus divide by 2?
1 comments

Multiply by 0.5 would be slower, as it's a floating point operation rather than simple arithmetic.