Retro68/gcc/newlib/libm/machine/spu/headers/atan2.h
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

7 lines
157 B
C

#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);
}