http://d.puremagic.com/issues/show_bug.cgi?id=6154
Lars T. Kyllingstad bugzi...@kyllingen.net changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6154
--- Comment #5 from bearophile_h...@eml.cc 2011-06-15 13:04:17 PDT ---
(In reply to comment #4)
Putting the free function as std.complex.abs works too.
OK.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=6154
kenn...@gmail.com changed:
What|Removed |Added
CC||kenn...@gmail.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=6154
--- Comment #2 from bearophile_h...@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
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