MSVC: fix for failing tests due to strtod+hexadecimal literals
Kai Nacke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri Mar 6 11:10:57 PST 2015
On Tuesday, 3 March 2015 at 22:12:39 UTC, Dan Olson wrote:
> On Tuesday, 3 March 2015 at 21:14:47 UTC, Johan Engelen wrote:
>> Also, where do I add tests for this?
>> I could add a .d test file, where correct parsing of hex float
>> literals are tested against binary representations.
>
> Could David Gay's strtod() be used?
> http://www.exploringbinary.com/how-strtod-works-and-sometimes-doesnt/
I think we should add this to druntime. The license seems to be
compatible.
(Johan has already created a pull request I am going to reuse.)
Regards,
Kai
More information about the digitalmars-d-ldc
mailing list