On Sunday, 11 September 2016 at 14:52:18 UTC, Manu wrote:

That's cool, but surely unnecessary; the compiler should just hook
these and do it directly... They're intrinsics in every
compiler/language I've ever used! Just not DMD.
If your results are compatible, why not PR this implementation for
when ctfe in std.math?
Incidentally, this is how we used to do these operations in early shader code, except cutting some corners for speed+imprecision ;)

Hey I just made another PR, to fix PowExp!
It might as well depend on phobos :)

Reply via email to