MSVC: fix for failing tests due to strtod+hexadecimal literals
kinke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Mar 2 13:52:10 PST 2015
On Monday, 2 March 2015 at 18:51:27 UTC, Johan Engelen wrote:
> On Monday, 2 March 2015 at 18:49:42 UTC, Johan Engelen wrote:
>> On Monday, 2 March 2015 at 07:17:37 UTC, Kai Nacke wrote:
>>> What about implement a hex value parsing function which is
>>> invoked if the result is 0?
>> dmd has a strold for compilers that do not support hex floats:
>> Or do you think that is overkill and we are better off
>> implementing our own hex parser?
> Actually I am thinking about ripping out just the hex parsing
> part from dmd's strtold, and tweaking it for our purposes...
We've already had DMD's strtold() implementation. It was removed
when we switched to double-precision real on Win64 and MSVCRT,
For MSVCRT < 14, we'd need a standard-compliant strtod(), not
More information about the digitalmars-d-ldc