std.math performance (SSE vs. real)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 2 14:44:17 PDT 2014


On 7/2/2014 2:33 PM, Sean Kelly wrote:
> On Wednesday, 2 July 2014 at 20:37:37 UTC, Walter Bright wrote:
>> I'm afraid that would not only break most D programs, but also
>> interoperability with C.
>
> Could you explain this?  I didn't think we used 'real' to
> interface with C at all.  We might need a type to match 'long
> double' in C, but what that is is already exceedingly variable.
> This would probably be another case for a special alias like we
> have for c_long.


C long double == D real for 32 and 64 bit OSX, Linux, and FreeBSD.



More information about the Digitalmars-d mailing list