fixed_trigonometry 0.2.1

Fixed point numerical approimations to trigonometric functions.
Documentation

Fixed Trigonometry

No-STD fixed-point implementation of trigonometric functions in Rust.

It utilizes the fixed library to allow flexibility in fixed point sizes and precisions.

The package.

The documentation.

Release notes are found under RELEASES.md.

Functionality

The library currently implements:

  • sinand cos using low order polynomails, for real fixed-point numbers.
  • atan using multiple numerical methods.
  • sqrt using the Nonlinear IIR Filter (NIIRF) method [1].
  • powi and complex::powi.

[1] N.Mikami et al., A new DSP-oriented algorithm for calculation of square root using a non-linear digital filter, IEEE Trans. on Signal Processing, July 1992, pp. 1663-1669.