repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bits/syscall.h: add landlock syscalls from linux v5.13
[musl.git]
/
src
/
math
/
x86_64
/
sqrt.c
blob
657e09e3b4d44b1cc12bf3300d7e5c5dc06c11ec
1
#include <math.h>
2
3
double
sqrt
(
double
x
)
4
{
5
__asm__
(
"sqrtsd %1, %0"
:
"=x"
(
x
) :
"x"
(
x
));
6
return
x
;
7
}