mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibM: Add long double defines of Math Constants
This commit is contained in:
parent
c74d7adac6
commit
f4072a5038
2 changed files with 15 additions and 1 deletions
|
@ -320,7 +320,7 @@ static FloatT internal_gamma(FloatT x) NOEXCEPT
|
|||
}
|
||||
|
||||
// Stirling approximation
|
||||
return sqrtl(2.0 * M_PI / static_cast<long double>(x)) * powl(static_cast<long double>(x) / M_E, static_cast<long double>(x));
|
||||
return sqrtl(2.0 * M_PIl / static_cast<long double>(x)) * powl(static_cast<long double>(x) / M_El, static_cast<long double>(x));
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue