Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
madhato
· 6y ago · 0 comments
Is there an advantage of using multiply by .5 versus divide by 2?
Comments
[–]
fox8091
6y ago
Multiply by 0.5 would be slower, as it's a floating point operation rather than simple arithmetic.