2015-01-08 11:23:28 +01:00
|
|
|
#include "cdefs-compat.h"
|
2015-01-09 14:24:24 +01:00
|
|
|
|
2015-01-11 23:34:27 +01:00
|
|
|
#include <openlibm_math.h>
|
2015-01-09 14:24:24 +01:00
|
|
|
|
2015-01-08 11:23:28 +01:00
|
|
|
#include "math_private.h"
|
|
|
|
|
2016-03-14 02:07:55 +01:00
|
|
|
OLM_DLLEXPORT long double
|
2015-01-08 11:23:28 +01:00
|
|
|
lgammal(long double x)
|
|
|
|
{
|
2015-01-10 09:57:33 +01:00
|
|
|
#ifdef OPENLIBM_ONLY_THREAD_SAFE
|
|
|
|
int signgam;
|
|
|
|
#endif
|
2015-01-08 11:23:28 +01:00
|
|
|
|
|
|
|
return (lgammal_r(x, &signgam));
|
|
|
|
}
|