mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix math functions
This commit is contained in:
parent
7794e56192
commit
56cb7702ea
19 changed files with 157 additions and 69 deletions
|
@ -94,7 +94,7 @@ namespace sprout {
|
|||
return sprout::math::detail::tgamma_impl_1(
|
||||
x,
|
||||
sprout::clamp(
|
||||
sprout::iround(x - T(2)),
|
||||
sprout::math::iround(x - T(2)),
|
||||
-static_cast<int>(sprout::math::factorial_limit<T>()),
|
||||
static_cast<int>(sprout::math::factorial_limit<T>())
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue