It doesn't answer your question as such, but you should take a look at:http://dlang.org/phobos/std_complex.html
The planned obsolescence of cdouble and consort is another issue I wanted to raise actually but better do it in a dedicated thread.
Luc Bourhis via Digitalmars-d Wed, 14 Jan 2015 06:31:45 -0800
It doesn't answer your question as such, but you should take a look at:http://dlang.org/phobos/std_complex.html
The planned obsolescence of cdouble and consort is another issue I wanted to raise actually but better do it in a dedicated thread.