Skip to content

Releases: hdert/Aerwig

v0.3.5: Increase performance for repeated evaluations

29 Jan 08:00
b6e533b
Compare
Choose a tag to compare

Increase performance for repeated evaluations by keeping two stacks in the Calculator struct, rather than initializing and discarding for every evaluation.

v0.3.4: Breaking! Replace infixEquation.evaluate() with faster one-step implementation, shuffle around file and dependency structure

27 Jan 09:18
bbe7359
Compare
Choose a tag to compare

v0.3.4: Breaking! Replace infixEquation.evaluate() with faster one-step implementation, shuffle around file and dependency structure

v0.3.3: Update for zig build changes

20 Jan 04:07
470895b
Compare
Choose a tag to compare

This doesn't change anything with the calculator for the user, but upstream projects can now include this as a module properly on zig nightly.

v0.3.2: Support for infinity, -infinity, and NaN

13 Jan 04:17
1f4e4f5
Compare
Choose a tag to compare

Add support for infinity, -infinity, and NaN.

v0.3.1: Breaking Changes!

13 Jan 04:15
4aa351e
Compare
Choose a tag to compare

Commit notes:

Rename Equation to Calculator and make root of file to improve mental model of what the struct actually is.
Split Infix and PostfixEquation into separate files.
Make Calculator initializer take in function pointers to registrar functions instead.
Add errorDescription function.
Rename PostfixEquation.fromInfixEquation to init
Make Operator and methods public

v0.3.0: Functions and exponential notation

13 Jan 04:14
e9afc01
Compare
Choose a tag to compare

Version 0.3.0! Now supporting customization functions, constant values, and exponential notation!