John Travers: > c1 = cast(cdouble)2.0; Casts are bad, better to avoid them when possible. You can do this:
void main() { cdouble c1; c1 = 2.0 + 0i; } But complex numbers will be removed from D, they will become partially library ones (imaginary ones will probably just removed). I think they will hopefully keep the same good enough syntax. Bye, bearophile