Expand description
Data types, status codes, complex structures, and fixed-point helper types.
Structs§
- Complex
- Representation of a complex number with real and imaginary components.
Enums§
- Status
- Error status returned by functions in
embedded-dsp.
Traits§
- DspSample
- Unified numerical sample trait implemented for floating-point sample types.
Functions§
- q7_mult
- Helper function for saturating multiplication in Q7 format.
- q15_
mult - Helper function for saturating multiplication in Q15 format.
- q31_
mult - Helper function for saturating multiplication in Q31 format.
Type Aliases§
- I16F16
FixedI32with 16 integer bits and 16 fractional bits.- Q2F14
- Q2.14 fixed-point type (2 integer bits, 14 fractional bits,
i16-backed). - Q8F7
- Q8.7 fixed-point type (8 integer bits, 7 fractional bits,
i16-backed). - f32_t
- f64_t
- q7
FixedI8with one integer bit and seven fractional bits.- q15
FixedI16with one integer bit and 15 fractional bits.- q31
FixedI32with one integer bit and 31 fractional bits.- q63
- Wide accumulator type used for dot products, sums-of-squares, and other
reductions that need headroom beyond
i32. This is a plain integer, not a Q1.63 fixed-point value: nothing here divides by a scale factor, and several call sites divide by an element count, which would be meaningless under a[-1.0, 1.0)-range fixed-point interpretation.