Y
Hacker News
new
|
ask
|
show
|
jobs
by
kstrauser
1048 days ago
Exactly. If you know you’re going to later be dividing by 23.7, you can precompute 1/23.7 and store that as a constant. Then you can later multiply by it.