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

7 lines
157 B
C
Raw Normal View History

#include "headers/hypotd2.h"
static __inline double _hypot(double x, double y)
{
return spu_extract(_hypotd2(spu_promote(x, 0), spu_promote(y, 0)), 0);
}