Skip to content

Releases: amalbansode/json-equation

First stable release!

20 Mar 21:48
dd7a9a4
Compare
Choose a tag to compare

Changelog

  • The numeric_range library is now used under the hood. It improves lookup efficiency from linear to logarithmic, and also makes error-checking nicer to deal with.
  • The calculate() function returns std::nullopt instead of throwing an std::runtime_error if an input value is not contained in any pieces' bounds. This necessitates using c++17's std::optional features.
  • Adds a comprehensive testing suite.
  • Bumps up json.hpp version.

2nd Alpha Release

15 Feb 23:10
Compare
Choose a tag to compare

More ideas in the pipeline (like tree traversal for equation evaluation!), but this should work as the current stable version.

First working alpha release

26 Dec 22:28
Compare
Choose a tag to compare
Pre-release

Builds a piecewise single-variable function from an input stream formatted in JSON. The calculate() function can then be used to find the result of plugging in an input value for the variable.
Next on the to-do is adding more helpful exception classes and their corresponding messages.