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

7 lines
157 B
C

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