std.math performance (SSE vs. real)

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 5 09:24:19 PDT 2014


On 5 July 2014 16:13, via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> On Saturday, 5 July 2014 at 15:09:28 UTC, Iain Buclaw via Digitalmars-d
> wrote:
>>
>> This is a library problem, not a language problem.  In this case
>> std.math uses real everywhere when perhaps it shouldn't.
>
>
> If x/y leads to a division by zero trap when it should not, then it isn't a
> library problem.
>

Right, it's a quirk of the CPU.


More information about the Digitalmars-d mailing list