We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7598b7 commit 7f7b0aaCopy full SHA for 7f7b0aa
src/modm/math/geometry/geometric_traits.hpp
@@ -96,13 +96,16 @@ namespace modm
96
static const bool isValidType = true;
97
98
using FloatType = float;
99
+ // %% if target == "stm32"
100
// using WideType = int64_t;
101
+ // %% else if target == "avr"
102
103
// OPTIMIZE only fall back to int32_t on avr architecture
104
// Usually the range of a int32_t is big enough so that no
105
// conversion to int64_t is required. This exception is made because
106
// 64-bit operations are very, very slow on an AVR.
107
using WideType = int32_t;
108
+ // %% endif
109
110
static inline int32_t
111
round(float value)
0 commit comments