Skip to content

7.0.0

Compare
Choose a tag to compare
@jacobwilliams jacobwilliams released this 27 Jan 02:48
· 294 commits to master since this release

See also

Summary

  • Added support for multiple real kinds:
    • The library now supports the default real kind specified (real32, real64 and real128) as well as the kinds in this set with less precision than the default. For example, if real64 is specified (which is the default), then both real32 and real64 are available in all the public APIs. Internally, the values are always stored in a variable of the default kind.
    • Added a create_real() method and a json_real parameter to replace create_double() and json_double. The old versions are still available for backward compatibility.
    • Added CMake options to control integer and real kinds
    • Updated the default real format statement to correctly correspond to the specified real kind.
  • Added new json_file constructor functions for strings. This allows a json_file to be initialized using syntax such as: f = json_file('{"x": 1}').
  • Fixed some links in the documentation.
  • Renamed the integrated tests preprocessor flag to INTEGRATED_TESTS since it was misspelled.
  • Fixed an issue where the parser would fail if the JSON structure was just a lone integer. 🐞
  • Fixed an issue where the unit tests did not compile when using real32 or real128. 🐞
  • Fixed various issues preventing compilation if the integer kind was changed from the default. 🐞