Comparison of Imaginary types
Damian McGuckin
damianm at esi.com.au
Wed Jul 8 22:59:44 UTC 2026
On Wednesday, 8 July 2026 at 05:43:58 UTC, Ali Çehreli wrote:
> On 7/7/26 7:51 PM, Damian McGuckin wrote:
>
> > Is there any background documentation by Walter when he
> implemented them?
>
> This came full circle. :)
We need to go back to the fundamentals. I think Walter's original
concepts are very sound as they are much closer to the ideas of
Kahan and Thomas on the need for complex and imaginary types in C.
Given a
cdouble c;
how does one extract the real and imaginary parts in D?
> There used to be a digitalmars.com article on the rationale for
> the complex types being a part of the language. I can't find
> that original article but I have my translation of it to
> Turkish likely from 2009:
>
> https://ddili.org/tanitim/fark_karmasik.html
That was useful although some of the automatic translation was
... well ... interesting
More information about the Digitalmars-d-learn
mailing list