[OT] Re: Let's kill 80bit real at CTFE

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 11 09:30:41 PDT 2016


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 :)


More information about the Digitalmars-d mailing list