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

Reply via email to