std.math performance (SSE vs. real)

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 4 06:01:57 PDT 2014


"Iain Buclaw via Digitalmars-d" <digitalmars-d at puremagic.com> wrote in 
message news:mailman.3265.1404477916.2907.digitalmars-d at puremagic.com...

> FP types are fixed.  float is 32bit, double 64bit.

That's 2/3.

> What 's the mangling problem with long double? There's only *one* long 
> double.

long double may not be the same size as D's real, eg in msvc it's 64-bit. 
You can still still call these functions from D using double in C, but the 
mangling will not match in C++.



More information about the Digitalmars-d mailing list