Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hypot.h « headers « spu « machine « libm « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0fafb38cf7f95a195bab3e0a9ab3f767e8be9cc (plain)
1
2
3
4
5
6
#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);
}