std.math performance (SSE vs. real)

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 28 18:14:17 PDT 2014


On 06/29/2014 02:40 AM, Walter Bright wrote:
> On 6/28/2014 3:33 AM, Russel Winder via Digitalmars-d wrote:
>> ...
>> So D should perhaps make a breaking change and have types int32, int64,
>> float32, float64, float80, and get away from the vagaries of bizarre
>> type relationships with hardware?
>
> D's spec says that the 'real' type is the max size supported by the FP
> hardware. How is this wrong?
>

It is hardware-dependent.


More information about the Digitalmars-d mailing list