boostorg / boostorg/math

lgamma slow with defaults

Offen
#241 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
374
Forks
264
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
17

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.