Skip to content

v2.4.0 - New math operations: logarithms, trigonometry

Compare
Choose a tag to compare
@pjazdzyk pjazdzyk released this 26 May 07:53
· 3 commits to master since this release

CHANGE LOG (26.05.2024):

  • backward compatibility - COMPATBILE
  • added abs() function which will return an absolute value of current value in a current unit,
  • added isCloseToZero() in two versions with epsilon specified or with default value of 1E-12. This function will return true for extremely small numbers, near the boundary of double type capability. This can be used in if() statements or predicates instead of isZero() to prevent false positive cases.
  • added log(), log10() functions,
  • added trigonometric functions for Angle quantity: sin(), sinh(), asin(), cos(), cosh(), acos(), tan(), tanh(), atan(), cot(), coth(), acot()
  • fixed minor bugs & refactoring
  • updated dependencies: SpringBoot 3.3.0, Quarkus platform: 3.11.0