☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
math
/
mips
/
sqrtf.c
☽
☼
libc-top-half/musl/src/math/mips/sqrtf.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#if !defined(__mips_soft_float) && __mips >= 2
2
3
#include <math.h>
4
5
float sqrtf(float x)
6
{
7
float r;
8
__asm__("sqrt.s %0,%1" : "=f"(r) : "f"(x));
9
return r;
10
}
11
12
#else
13
14
#include "../sqrtf.c"
15
16
#endif