fixed-dsp 0.2.1

A Rust library for fixed-point digital signal processing (DSP) algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
pub type Result<T> = core::result::Result<T, Error>;

/// Error type for fixed-dsp.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Error {
    /// Not-a-number / infinity equivalent in fixed-point APIs.
    NanInf,
    /// Size mismatch between input and output buffers.
    SizeMismatch,
}