std.math API rework

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 6 13:31:45 PDT 2016


On Thursday, 6 October 2016 at 20:07:19 UTC, Iain Buclaw wrote:
> On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>> [...]
>
> If you can prove that llvm intrinsics are pure (gcc math 
> intrinsics are not) and that llvm intrinsics pass the unittest 
> (gcc math intrinsics aren't guaranteed to due to the vagary of 
> libm implementations and quirky cpu support that trades 
> correctness for efficiency).
>
> [...]

LLVM math functions are pure :P http://llvm.org/docs/LangRef.html

I can do a Phobos fork. But I hope I can fix it.


More information about the Digitalmars-d mailing list