Comment #0 by joseph.wakeling — 2013-12-20T08:18:00Z
The rationale for a separate imaginary type has been laid out in Kahan & Thomas, "Augmenting a programming language with complex arithmetic", http://www.eecs.berkeley.edu/Pubs/TechRpts/1992/CSD-92-667.pdf, and has also been requested on the D mailing lists:
http://forum.dlang.org/thread/[email protected]
Briefly, it should allow more efficient calculations (as unnecessary manipulations of 0 are avoided) and should allow a way round some calculations that unnecessarily evaluate to NaN under the IEEE floating point standard.
Comment #1 by bugzilla — 2019-11-12T20:23:22Z
IMHO, this is not a bug, but a request for an enhancement...
Comment #2 by robert.schadek — 2024-12-01T16:19:39Z