blob: c9c000831aa5b0e83a18892faff67accf2fb0291 [file] [log] [blame]
#include <math.h>
#if __VFP_FP__ && !__SOFTFP__
double sqrt(double x)
{
__asm__ ("vsqrt.f64 %P0, %P1" : "=w"(x) : "w"(x));
return x;
}
#else
#include "../sqrt.c"
#endif