diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-17 00:06:11 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-03 23:52:23 +0000 |
commit | d26aabff0401690d6dd1332558b40f5cb64e4428 (patch) | |
tree | fd56d0ab5b672814a1a2fb7b8a92fefb01f24e6f /AK/FixedPoint.h | |
parent | 8639d8bc212dcb45aff80405b4b0f6b1ef1087e7 (diff) | |
download | serenity-d26aabff0401690d6dd1332558b40f5cb64e4428.zip |
Everywhere: Run clang-format
Diffstat (limited to 'AK/FixedPoint.h')
-rw-r--r-- | AK/FixedPoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/AK/FixedPoint.h b/AK/FixedPoint.h index 69618e4972..d409251300 100644 --- a/AK/FixedPoint.h +++ b/AK/FixedPoint.h @@ -157,12 +157,14 @@ public: return y; } - constexpr bool signbit() const requires(IsSigned<Underlying>) + constexpr bool signbit() const + requires(IsSigned<Underlying>) { return m_value >> (sizeof(Underlying) * 8 - 1); } - constexpr This operator-() const requires(IsSigned<Underlying>) + constexpr This operator-() const + requires(IsSigned<Underlying>) { return create_raw(-m_value); } |