Skip to content

v0.2.0

Choose a tag to compare

@neogenie neogenie released this 17 Feb 19:15
· 54 commits to master since this release
7d63bd7

This release primarily focuses on:

  • Increasing the accuracy of approximated mathematical calculations due to the use of 7 extra precision digits
    instead of 4.
  • Performance optimizations.

Expect better performance, precision handling, and expanded documentation covering new methods and examples.

Added

  • floor() and ceil() const methods.
  • Add basic tests for trivial trigonometric functions for 0–360 degree angles.

Changed

  • Control block is completely refactored for better performance and more compact memory layout.
  • Micro-optimizations in rounding.
  • Inline optimizations and better precision handling for mathematical rounding.
  • Remove custom const float helpers as they're stabilized as const in rust 1.83.

Fixed

  • Incorrect floor() and ceil() methods in num_traits Float implementation.

Documentation

  • Minor fixes.