std.math performance (SSE vs. real)
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 29 12:22:15 PDT 2014
On 6/29/2014 11:21 AM, Russel Winder via Digitalmars-d wrote:
> Because when reading the code you haven't got a f####### clue how
> accurate the floating point number is until you ask and answer the
> question "and which processor are you running this code on".
That is not true with D. D specifies that float and double are IEEE 754 types
which have specified size and behavior. D's real type is the largest the
underlying hardware will support.
D also specifies 'int' is 32 bits, 'long' is 64, and 'byte' is 8, 'short' is 16.
More information about the Digitalmars-d
mailing list