Remix.run Logo
gowld 3 hours ago

What is the tradeoff between multiplication and addition?

nraynaud 2 hours ago | parent | next [-]

Just a few years ago, mults were slower, but I think now (Intel i9) mult, add and fma are the same.

https://stackoverflow.com/a/39135689

gigatexal 3 hours ago | parent | prev [-]

I think multiplications are faster to do in computer land than adds? I too am curious.

hyperhello 3 hours ago | parent [-]

Also could use analysis of dependencies to see what can happen in parallel. Or for that matter, some real benchmarks.