https://issues.dlang.org/show_bug.cgi?id=12562

Saurabh Das <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Saurabh Das <[email protected]> ---
std.algorithm.sum differs from reduce!((a, b) => a + b) in that it uses a
different algorithm for floating-point types to reduce the round-off error. As
far as I understand, multiplication of floating-point types does not suffer
from the same problem. (Or does it?)

Do you have any special case algorithms you would like to implement for
std.algorithm.mul in mind?

If it is simply a forward to reduce!((a, b) => a * b), then is it a big enough
convenience to be included into phobos?

I have been trying to make some time to contribute back to Dlang and this seems
like the perfect, nice and easy issue, to dip my toe into the
phobos-contributor waters! :)

--

Reply via email to