https://issues.dlang.org/show_bug.cgi?id=13013
Issue ID: 13013
Summary: Failed unittests in std.json - does not parse doubles
correctly
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
When compiling with -m64 on Windows, std.json fails to pass unittests regarding
parsing doubles from string json format into the JSONValue type.
Specifically:
[email protected](1027): 1.44354e-312 should be 0.23
This does not happen when I leave off -m64.
This does not happen when I use -m64 on OSX.
I compile with the line:
dmd -main -unittest -m64 json.d
I downloaded the latest version of std.json to see if this had already been
patched; it is still broken. The line number above refers to the version
currently on Github.
I will likely spend some time investigating this myself, as I must eventually
have a solution to this problem.
--