On 12/15/2010 08:34 AM, Lars T. Kyllingstad wrote:
And if someone *really* wants to put the "i" in there, they can just define it in their own app: enum i = Complex!double(0, 1); auto z = 0.998 + 2.72e-2*i; -Lars
or Complex!"0.998 + 2.72e-2i"
On 12/15/2010 08:34 AM, Lars T. Kyllingstad wrote:
And if someone *really* wants to put the "i" in there, they can just define it in their own app: enum i = Complex!double(0, 1); auto z = 0.998 + 2.72e-2*i; -Lars
or Complex!"0.998 + 2.72e-2i"