summaryrefslogtreecommitdiff
path: root/Tests/LibM/test-math.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Tests/LibM/test-math.cpp
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Tests/LibM/test-math.cpp')
-rw-r--r--Tests/LibM/test-math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/LibM/test-math.cpp b/Tests/LibM/test-math.cpp
index fcd37d9063..422e7347d5 100644
--- a/Tests/LibM/test-math.cpp
+++ b/Tests/LibM/test-math.cpp
@@ -120,7 +120,7 @@ union Extractor {
};
double d;
- bool operator==(const Extractor& other) const
+ bool operator==(Extractor const& other) const
{
return other.sign == sign && other.exponent == exponent && other.mantissa == mantissa;
}
@@ -227,7 +227,7 @@ TEST_CASE(gamma)
EXPECT(isnan(tgamma(-5)));
// TODO: investigate Stirling approximation implementation of gamma function
- //EXPECT_APPROXIMATE(tgamma(0.5), sqrt(M_PI));
+ // EXPECT_APPROXIMATE(tgamma(0.5), sqrt(M_PI));
EXPECT_EQ(tgammal(21.0l), 2'432'902'008'176'640'000.0l);
EXPECT_EQ(tgamma(19.0), 6'402'373'705'728'000.0);
EXPECT_EQ(tgammaf(11.0f), 3628800.0f);