Arduino Filters
master
Filter library for Arduino
|
Classes | |
class | FixedPoint< T, N, T2 > |
Very basic fixed-point integer implementation. More... | |
Typedefs | |
template<class T > | |
using | DoubleWidthInt_t = typename DoubleWidthInt< T >::type |
Get the integer type that has twice the number of bits as the given type. More... | |
Functions | |
template<class T , uint8_t N, class T2 > | |
T2 | operator* (T lhs, FixedPoint< T, N, T2 > rhs) |
Multiply normal integer with fixed point integer. More... | |
template<class T , uint8_t N, class T2 > | |
T2 | operator* (T2 lhs, FixedPoint< T, N, T2 > rhs) |
Multiply normal integer with fixed point integer. More... | |
template<class T , uint8_t N, class T2 > | |
Print & | operator<< (Print &os, FixedPoint< T, N, T2 > fp) |
Printing a fixed-point integer. More... | |
using DoubleWidthInt_t = typename DoubleWidthInt<T>::type |
Get the integer type that has twice the number of bits as the given type.
Definition at line 50 of file FixedPoint.hpp.
T2 operator* | ( | T | lhs, |
FixedPoint< T, N, T2 > | rhs | ||
) |
Multiply normal integer with fixed point integer.
Definition at line 142 of file FixedPoint.hpp.
T2 operator* | ( | T2 | lhs, |
FixedPoint< T, N, T2 > | rhs | ||
) |
Multiply normal integer with fixed point integer.
Definition at line 148 of file FixedPoint.hpp.
Print & operator<< | ( | Print & | os, |
FixedPoint< T, N, T2 > | fp | ||
) |
Printing a fixed-point integer.
Definition at line 168 of file FixedPoint.hpp.