Skip to content

Bugs in miloyip/nativejson-benchmark: roundtrips #187

Description

@nlohmann

I checked the library with the latest https://github.com/miloyip/nativejson-benchmark benchmark suite. There are several errors in the round trip tests:

  • Roundtrip,Nlohmann (C++11),roundtrip20,false
  • Roundtrip,Nlohmann (C++11),roundtrip21,false
  • Roundtrip,Nlohmann (C++11),roundtrip24,false
  • Roundtrip,Nlohmann (C++11),roundtrip25,false
  • Roundtrip,Nlohmann (C++11),roundtrip26,false
  • Roundtrip,Nlohmann (C++11),roundtrip27,false

These are the values:

  • [0.0]
  • [-0.0]
  • [5e-324]
  • [2.225073858507201e-308]
  • [2.2250738585072014e-308]
  • [1.7976931348623157e308]

I will have a deeper look at this later. I just wanted to paste the results here before I forget.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions