mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix MODE=tiny build
This commit is contained in:
parent
6ee18986e4
commit
7965ed0232
2 changed files with 3 additions and 8 deletions
|
@ -316,11 +316,3 @@ double lgamma_r(double x, int *signgamp)
|
||||||
r = nadj - r;
|
r = nadj - r;
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns natural logarithm of absolute value of gamma function.
|
|
||||||
*/
|
|
||||||
double lgamma(double x)
|
|
||||||
{
|
|
||||||
return lgamma_r(x, &__signgam);
|
|
||||||
}
|
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
#include "libc/math.h"
|
#include "libc/math.h"
|
||||||
#include "libc/tinymath/kernel.internal.h"
|
#include "libc/tinymath/kernel.internal.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns natural logarithm of absolute value of gamma function.
|
||||||
|
*/
|
||||||
double lgamma(double x) {
|
double lgamma(double x) {
|
||||||
return lgamma_r(x, &__signgam);
|
return lgamma_r(x, &__signgam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue