Retro68/gcc/newlib/libm/machine/spu/headers/atan2.h

7 lines
157 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
#include "headers/atan2d2.h"
static __inline double _atan2(double y, double x)
{
return spu_extract(_atan2d2(spu_promote(y, 0), spu_promote(x, 0)), 0);
}