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

2013-08-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6154 Lars T. Kyllingstad bugzi...@kyllingen.net changed: What|Removed |Added Status|NEW |RESOLVED

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

2011-06-15 Thread d-bugmail
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

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

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6154 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1

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

2011-06-14 Thread d-bugmail
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

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

2011-06-14 Thread d-bugmail
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