Fixed point intermediary type #1545
Labels
good first issue
Suitable for newcomers
improvement
Enhancement of an existing component
lang: c++
Done in C++ code
Required Skills: C++
Difficulty: Medium
We could use an optional intermediary type for fixed-point types. Intermediary types are used for temporary values in calculations where intermediary steps can cause the original values to overflow. A common scenario where this can happen are multiplication or division. We take inspiration for this from the
fpm
library.Intermediary types are only strictly necessary if the base type is small, e.g.
int16_t
. Therefore, their usage should be optional.Tasks
Further Reading
The text was updated successfully, but these errors were encountered: