[Issue 6154] std.math.abs on std.complex numbers too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 14 10:06:04 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-06-14 10:01:24 PDT ---
(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.

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


More information about the Digitalmars-d-bugs mailing list