blob: 8718dbd0ca7b4086fc1ebb2e7cd3b2e6eb3a20e2 [file] [log] [blame]
#include <math.h>
#if !defined _SOFT_FLOAT && defined _ARCH_PPCSQ
double sqrt(double x)
{
__asm__ ("fsqrt %0, %1\n" : "=d" (x) : "d" (x));
return x;
}
#else
#include "../sqrt.c"
#endif