std.math performance (SSE vs. real)

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 4 14:50:07 PDT 2014


On Thu, 3 Jul 2014 14:01:23 -0700
Jonathan M Davis via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> I'm fine with real varying from platform to platform depending on
> what makes sense for that platform, but I think that it should be
> clear what real is generally supposed to be (e.g. the largest
> floating point type that the hardware supports), but unless it's
> _guaranteed_ that real be the same as long double, I would strongly
> argue in favor of having an alias for long double rather than using
> real directly (much as it will likely be an alias to real in most
> cases). We already do that with c_long.

Here: https://github.com/D-Programming-Language/druntime/pull/863

- Jonathan M Davis


More information about the Digitalmars-d mailing list