mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
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