diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/fixed_point.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fixed_point.h b/include/fixed_point.h index 254bc91..1bdc5df 100644 --- a/include/fixed_point.h +++ b/include/fixed_point.h @@ -11,6 +11,7 @@ struct fp_t { static constexpr fp_t from_int(std::int32_t i) { return fp_t{i << 16}; } fp_t operator+(const fp_t& other) const; + fp_t operator-(const fp_t& other) const; bool operator==(const fp_t& other) const; }; |
