mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:47:36 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue