Skip to content

Commit 9883396

Browse files
committed
Revert workaround
1 parent 5d9943a commit 9883396

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

include/boost/decimal/detail/cmath/tgamma.hpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,8 @@ constexpr auto tgamma_impl(T x) noexcept
9999
z = z - nx;
100100
}
101101

102-
auto my_own_fma =
103-
[](T x, T y, T z)
104-
{
105-
return (x * y) + z;
106-
};
107-
108102
result = detail::tgamma_series_expansion(z);
109-
result = one / (z * my_own_fma(result, z, one));
103+
result = one / (z * fma(result, z, one));
110104

111105
if (x_is_gt_one)
112106
{

0 commit comments

Comments
 (0)