MSVC: fix for failing tests due to strtod+hexadecimal literals
Kai Nacke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sun Mar 1 23:15:47 PST 2015
On Monday, 2 March 2015 at 00:23:33 UTC, Kevin Brogan wrote:
> Why use hex constants to begin with? Why not just use the
> floating point equivalent? The compiler will just substitute
> with the binary representation that is closest will it not?
it is a very complicated problem to create a floating point
number from the usual decimal scientific representation, e.g.
3.1415. I think a good reading is
The hex representation is far easier to parse.
More information about the digitalmars-d-ldc