Introduce lgammal, tgammal, erfl, and erfcl

git://git.musl-libc.org/musl
79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30
This commit is contained in:
Justine Tunney 2023-10-31 21:58:29 -07:00
parent b4084dd6c6
commit 3b791d2f44
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 1100 additions and 319 deletions

View file

@ -17,7 +17,6 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/math.h"
#include "libc/tinymath/kernel.internal.h"
/**
* Returns natural logarithm of absolute value of gamma function.
@ -25,3 +24,7 @@
double lgamma(double x) {
return lgamma_r(x, &signgam);
}
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
__weak_reference(lgamma, lgammal);
#endif