/****************************************************************************
 *
 * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/math/lgamma.c,v $
 * $Date: 2001/01/29 15:10:19 $
 * $Revision: 1.2 $
 * $State: Exp $
 * $Author: admin $
 *
 ***************************************************************************/

#ifdef EMBED_RCSID
static const char rcs_id[] = "$Id: lgamma.c,v 1.2 2001/01/29 15:10:19 admin Exp $";
#endif

#include <math.h>
#include <unixlib/math.h>
#include <unixlib/types.h>

int signgam;

/* Defined by POSIX as not threadsafe */
double lgamma (double x)
{
  return lgamma_r (x, &signgam);
}

double gamma (double x)
{
  return lgamma_r (x, &signgam);
}
