projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add m68k sqrtl using native instruction
[musl]
/
src
/
math
/
m68k
/
sqrtl.c
1
#include <math.h>
2
3
#if __HAVE_68881__
4
5
long double sqrtl(long double x)
6
{
7
__asm__ ("fsqrt.x %1,%0" : "=f"(x) : "fm"(x));
8
return x;
9
}
10
11
#else
12
13
#include "../sqrtl.c"
14
15
#endif