-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
good first issueSuitable for newcomersSuitable for newcomersimprovementEnhancement of an existing componentEnhancement of an existing componentlang: c++Done in C++ codeDone in C++ code
Description
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
- Add intermediary type as optional template parameter
- Use intermediary type in fixed-point calculations
Further Reading
Metadata
Metadata
Assignees
Labels
good first issueSuitable for newcomersSuitable for newcomersimprovementEnhancement of an existing componentEnhancement of an existing componentlang: c++Done in C++ codeDone in C++ code
Type
Projects
Status
other