/****************************************************************************
 *
 * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/math/lgamma.c,v $
 * $Date: 2003/01/21 17:54:22 $
 * $Revision: 1.3 $
 * $State: Exp $
 * $Author: admin $
 *
 ***************************************************************************/

#ifdef EMBED_RCSID
static const char rcs_id[] = "$Id: lgamma.c,v 1.3 2003/01/21 17:54:22 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);
}
