Retro68/gcc/newlib/libm/machine/spu/headers/lgamma.h
2012-03-27 01:51:53 +02:00

7 lines
131 B
C

#include "headers/lgammad2.h"
static __inline double _lgamma(double x)
{
return spu_extract(_lgammad2(spu_promote(x, 0)), 0);
}