boostorg / boostorg/math

lgamma slow with defaults

Ouverte
#241 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
374
Forks
264
Merge moyen
1 j 23 h
PR mergées (30 j)
17

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.