Why is complex being deprecated again?
bearophile
bearophileHUGS at lycos.com
Sun Apr 15 15:31:11 PDT 2012
Lars T. Kyllingstad:
> If there is anything missing from the module, I will be happy
> to add it.
You have seen std.math.expi, that returns a creal using the
instructions sincos plus a registers swap (so it returns
complex(cos,sin)). Maybe it's worth adding to Phobos a fully
inlinable core.bitop.sincos intrinsic that performs just the
sincos.
Bye,
bearophile
More information about the Digitalmars-d
mailing list