8000 Releases · Nitrillo/picomath · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: Nitrillo/picomath

v1.1.0

18 Oct 06:53
2be2a1d
Compare
Choose a tag to compare

PicoMath v1.1.0

Changelog

  • Added flag to enable precise parsing of floats. The naive parser is still the default.
  • Added parsing of exponent in the naive float parser.

v1.0.0

03 Jun 06:05
40d9b7e
Compare
Choose a tag to compare

PicoMath v1.0.0

Features

  • Header only C++ library: easy integration in your project
  • Very simple and fast
  • Zero allocations in the hot path
    • Uses C++17 std::string_view to lookup variables without copying strings
  • Single pass: The evaluation is performed while parsing.
  • Built-in math functions (e.g. cos(pi))
  • Custom units and percentages (e.g "100% - 10px")
  • User defined variables (e.g. (x + y) * (x + y))
  • User defined functions with multiple arguments (e.g. avg(10, 20, 30))
  • Uses standard C++ containers
0