summaryrefslogtreecommitdiff
path: root/AK/FixedPoint.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-10-17 00:06:11 +0200
committerLinus Groh <mail@linusgroh.de>2022-12-03 23:52:23 +0000
commitd26aabff0401690d6dd1332558b40f5cb64e4428 (patch)
treefd56d0ab5b672814a1a2fb7b8a92fefb01f24e6f /AK/FixedPoint.h
parent8639d8bc212dcb45aff80405b4b0f6b1ef1087e7 (diff)
downloadserenity-d26aabff0401690d6dd1332558b40f5cb64e4428.zip
Everywhere: Run clang-format
Diffstat (limited to 'AK/FixedPoint.h')
-rw-r--r--AK/FixedPoint.h6
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);
}