github.com/afumu/libc@v0.0.6/musl/src/math/mips/sqrt.c (about)

     1  #if !defined(__mips_soft_float) && __mips >= 3
     2  
     3  #include <math.h>
     4  
     5  double sqrt(double x)
     6  {
     7  	double r;
     8  	__asm__("sqrt.d %0,%1" : "=f"(r) : "f"(x));
     9  	return r;
    10  }
    11  
    12  #else
    13  
    14  #include "../sqrt.c"
    15  
    16  #endif