std.math performance (SSE vs. real)

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 28 04:50:17 PDT 2014


On Saturday, 28 June 2014 at 10:34:00 UTC, 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?

`real`* is the only builtin numerical type in D that doesn't have 
a defined width. http://dlang.org/type.html

*well I guess there's size_t and ptrdiff_t, but they aren't 
distinct types in their own right.


More information about the Digitalmars-d mailing list