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
/
llrint.c
blob
dd38a7223a5c8ce94cfecbdd9c57597a625f29b4
1
#include <math.h>
2
3
long long
llrint
(
double
x
)
4
{
5
long long
r
;
6
__asm__
(
"cvtsd2si %1, %0"
:
"=r"
(
r
) :
"x"
(
x
));
7
return
r
;
8
}