std.math performance (SSE vs. real)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 3 20:05:47 PDT 2014


On 7/3/2014 1:30 PM, Tofu Ninja wrote:
> 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.

??

I see nothing wrong with it, and it was on purpose.


More information about the Digitalmars-d mailing list