std.math performance (SSE vs. real)

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 3 13:30:53 PDT 2014


On Thursday, 3 July 2014 at 19:47:32 UTC, Walter Bright wrote:
> On 7/3/2014 8:36 AM, Sean Kelly wrote:
>>> Per the D spec, 'real' will be the longest type supported by 
>>> the native hardware.
>
> It's not necessary that real be long double - but it is 
> necessary that long double be callable from D.
>
> Case in point: long double on Win64 is accessible with D's 
> "double", but D also supports 80 bit "real".

That makes it seem like we are compatible by accident rather than 
by design.


More information about the Digitalmars-d mailing list