boostorg / boostorg/math

lgamma slow with defaults

未关闭
#241 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
374
派生
264
平均合并
1 天 23 小时
30 天内合并 PR
17

描述

The `boost::math::lgamma` implementation is about 2-3x slower than the `std::lgamma` implementation when used with standard `double`s.

When turning off the do the propagation from `double` to `long double` the boost implementation is comparable in speed to `std::lgamma`, but still 10-20% slower.

However, when turning off propagation to `long double` problems with early overflow are the price to pay... see the next issue.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。