www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.complex missing functionality

reply Michelle Long <HappyDance321 gmail.com> writes:
such as pow...

all std.math functions should be extended to work with complex, 
else what's the point?
Feb 19
parent Simen =?UTF-8?B?S2rDpnLDpXM=?= <simen.kjaras gmail.com> writes:
On Tuesday, 19 February 2019 at 08:04:10 UTC, Michelle Long wrote:
 such as pow...

 all std.math functions should be extended to work with complex, 
 else what's the point?
There's already a bug report on this: https://issues.dlang.org/show_bug.cgi?id=18571 If you just want the functions, feel free to use these: https://gist.github.com/Biotronic/17af645c2c9b7913de1f04980cd22b37 -- Simen
Feb 19