[Issue 13013] Failed unittests in std.json - does not parse doubles correctly

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 30 13:38:53 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13013

--- Comment #2 from Mark Isaacson <markisaa at umich.edu> ---
Thanks for the insight David! I added a:
version (Win64) {
  alias FloatingType = double;
} else {
  alias FloatingType = real;
}

to the top and changed the appropriate union type to use that alias. The
unittests ran perfectly.

I doubt that this is the fix we want to ship, but it seems that your analysis
is spot-on.

--


More information about the Digitalmars-d-bugs mailing list