
It is possible to have 3 multiplications rather than 4: https://en.m.wikipedia.org/wiki/Multiplication_algorithm#Complex_multiplicat...

On Thu, 29 Aug 2019, Dannyu NDos wrote:
It is possible to have 3 multiplications rather than 4: https://en.m.wikipedia.org/wiki/Multiplication_algorithm#Complex_multiplicat...
But it is less precise, right?

"There is a trade-off in that there may be some loss of precision when
using floating point." Says Wikipedia. :(
2019년 8월 29일 (목) 07:31, Henning Thielemann
On Thu, 29 Aug 2019, Dannyu NDos wrote:
It is possible to have 3 multiplications rather than 4:
https://en.m.wikipedia.org/wiki/Multiplication_algorithm#Complex_multiplicat...
But it is less precise, right?

Also, on modern chips, Float and Double multiplication is practically the
same speed as addition.
On Wed, Aug 28, 2019, 17:35 Dannyu NDos
"There is a trade-off in that there may be some loss of precision when using floating point." Says Wikipedia. :(
2019년 8월 29일 (목) 07:31, Henning Thielemann
님이 작성: On Thu, 29 Aug 2019, Dannyu NDos wrote:
It is possible to have 3 multiplications rather than 4:
https://en.m.wikipedia.org/wiki/Multiplication_algorithm#Complex_multiplicat...
But it is less precise, right?
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

On Wed, 28 Aug 2019, Zemyla wrote:
Also, on modern chips, Float and Double multiplication is practically the same speed as addition.
But modern chips can also fuse multiplication and addition. However this combines more dependencies in one operation and thus it may slow down, again.
participants (3)
-
Dannyu NDos
-
Henning Thielemann
-
Zemyla