Skip to content

Releases: projectM-visualizer/projectm-eval

projectm-eval v1.0.3

04 Aug 17:39
0290017
Compare
Choose a tag to compare

This bugfix releases fixes some additional differences found in comparison to ns-eel2, mainly due to the original library not honoring floating-point exceptions in the assembly implementation of many functions. Those changes include:

  • Return 0.0 instead of 0.9 in log()and log10() functions.
  • Return 0.0 instead of Inf in pow() function if the base is 0.0 and the exponent negative.
  • Return 0.0 if the fast inverse square root function invsqrt() resolves to NaN.
  • Add a small amount (0.0001) to float values going into freembuf() to avoid indexing the wrong block due to rounding errors.

To further make sure all functions work as expected, some standard C types were changed to fixed-sizes types and unit tests were implemented for all available expression functions and operators.

Thanks to @OfficialIncubo for testing and making the changes!

projectm-eval v1.0.2

02 Jul 20:02
84d25bc
Compare
Choose a tag to compare

This bugfix release fixes issues with bitwise and logical AND and OR, which were not correctly parsed and assigned. Specifically, it fixes the following operators:

  • The bitwise & and | operators were missing an implementation and the scanner previously assigned wrong functions to those operators (they were executed as modulo % and pow ^).
  • The logical/boolean && and || operators were mapped to the bitwise band() and. bor() functions.

The internal functions implementing those operators were renamed to more cleraly state whether they implement bitwise or boolean AND/OR, resolving the abiguity of the b prefix of some functions.

projectm-eval v1.0.1

17 Mar 14:12
6ebe221
Compare
Choose a tag to compare

This small patch release adds a pkg-config file on UNIX if projectm-eval is installed as a static library for use in other projects.

No other functional changes in this release, so if you're not using pkg-config in your toolchain, there's no need to update.