math/fp: negation operator declaration
This commit is contained in:
parent
d11490fdc3
commit
60f3a9d344
@ -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{});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user