http://d.puremagic.com/issues/show_bug.cgi?id=6154



--- Comment #4 from kenn...@gmail.com 2011-06-14 13:22:08 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> 
> >     auto m2 = map!`a.abs()`(array2);
> 
> Right. But std.math.abs has to work on complex numbers too, as before, for
> polymorphism, and for a serious integration of complex numbers in Phobos.

Right, but why must it be std.math.abs? Putting the free function as
std.complex.abs works too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to