-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more accurate and faster lgamma, and use a more standard branch cut (#…
…18330) * more accurate and faster lgamma, and use a more standard branch cut for real(x)<0 * more tests * use trick from Hare (1997) to compute log(prod of shifts) rather than sum(logs of shifts) with the correct branch cut * even more tests * whoops, use 1e14 and not 10^14 to avoid integer overflow on 32-bit Windows * fix accuracy near zero at z=2 * update manual for lgamma * news for lgamma changes * can use a lower-degree Taylor series around z=2 because the coefficients decrease faster * linewrap poly coefs
- Loading branch information
Showing
4 changed files
with
135 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters