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:
fftcalculation, for complex fixed-point vectors.sinandcosusing low order polynomails, for real fixed-point numbers.atanusing multiple numerical methods.sqrtusing the Nonlinear IIR Filter (NIIRF) method [1].powiandcomplex::powi.- no-std utilities for complex numbers.
[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.