math/fp: negation operator declaration

This commit is contained in:
Zack Buhman 2023-07-23 06:17:10 +00:00
parent d11490fdc3
commit 60f3a9d344

View File

@ -41,7 +41,7 @@ struct fp
return value >> 16; return value >> 16;
} }
constexpr inline fp<T, I, B> operator-() constexpr inline fp<T, I, B> operator-() const
{ {
return fp(-value, fp_raw_tag{}); return fp(-value, fp_raw_tag{});
} }