Complex number functions for std.math

Anders F Björklund afb at algonet.se
Sun Apr 9 00:57:15 PDT 2006


Norbert Nemec wrote:

> That discussion was before my time and obviously nobody back
> then had strong feelings against talking about "really complex numbers".

Walter didn't like the "extended" keyword, so he renamed it "real":
http://www.digitalmars.com/d/changelog.html#new054 [DMD 0.54, 2003]

Several people hated "imaginary real" and "complex real", though ?
But I guess they left and never came back, or something like that.

> Therefore the final word still is: "Do in the library whatever you want,
> the language definition will not be changed again."

That's my understanding as well, with the 64-128 bit floating type.
I'd rather have the basic D types be of a fixed size, but that's me.

The pragmatic approach is to use some aliases, or doubles instead...

--anders



More information about the Digitalmars-d mailing list