newlib/newlib/libc/reent/signgam.c

17 lines
293 B
C

/* The signgam variable is stored in the reentrancy structure. This
function returns its address for use by the macro signgam defined in
math.h. */
#include <math.h>
#include <reent.h>
#ifndef _REENT_ONLY
int *
__signgam ()
{
return &_REENT->_new._reent._gamma_signgam;
}
#endif