mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Introduce lgammal, tgammal, erfl, and erfcl
git://git.musl-libc.org/musl 79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30
This commit is contained in:
parent
b4084dd6c6
commit
3b791d2f44
8 changed files with 1100 additions and 319 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue