MSVC: fix for failing tests due to strtod+hexadecimal literals

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Mar 2 15:18:00 PST 2015


On Monday, 2 March 2015 at 21:52:10 UTC, kinke wrote:
>
> We've already had DMD's strtold() implementation. It was 
> removed when we switched to double-precision real on Win64 and 
> MSVCRT, see https://github.com/ldc-developers/ldc/pull/747.
> For MSVCRT < 14, we'd need a standard-compliant strtod(), not 
> strtold().

OK, but it is relatively easy to write a hex parser on top of 
MSVC's strtod (for the heavy duty work). I'll see how far I get :)


More information about the digitalmars-d-ldc mailing list