couldn't we keep complex number literals?

bearophile bearophileHUGS at lycos.com
Mon Jul 26 11:34:47 PDT 2010


Trass3r:
> Couldn't we do something similar with complex numbers?

I have proposed this idea lot of time ago (and I was not the only one), but I don't know what Walter thinks about it. I think he thinks that complex literals are not so important in D (despite D is a designed for numerical computing too).

I suggested a similar solution for multi-precision integers too:
bint i = 1_234_567_890_123_456_789_012_345_678_901_234_567_890;

Bye,
bearophile


More information about the Digitalmars-d mailing list