fixed_analytics 2.0.1

Fixed-point mathematical functions. Accurate, deterministic, and panic free.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Precomputed lookup tables for CORDIC algorithms and polynomial evaluation.
//!
//! Tables are stored as `i64` values representing signed I1F63 fixed-point
//! numbers (1 sign bit, 63 fractional bits), which are then converted to
//! the target type at runtime.
//!
//! # Table Contents
//!
//! - [`ATAN_TABLE`]: `atan(2^-i)` values for circular CORDIC mode
//! - [`ATANH_TABLE`]: `atanh(2^-i)` values for hyperbolic CORDIC mode
//! - [`chebyshev`]: Minimax polynomial coefficients for sin/cos evaluation

pub mod chebyshev;
pub mod circular;
pub mod hyperbolic;

pub use circular::ATAN_TABLE;
pub use hyperbolic::ATANH_TABLE;