diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/fixed_point.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fixed_point.h b/include/fixed_point.h index 9df6376..385ccc2 100644 --- a/include/fixed_point.h +++ b/include/fixed_point.h @@ -5,8 +5,8 @@ #include <type_traits> struct fp_t { - static constexpr int32_t Q = 16; - static constexpr int32_t K = 1 << (Q - 1); + static constexpr std::int32_t Q = 16; + static constexpr std::int32_t K = 1 << (Q - 1); std::int32_t raw; static constexpr fp_t from_raw(std::int32_t r) { return fp_t{r}; } |
