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
math: move x87-family rint functions to C with inline asm
[musl.git]
/
src
/
math
/
i386
/
rint.c
blob
a5276a60d8f4c0baa6e72836ea43f24b03fb4666
1
#include <math.h>
2
3
double
rint
(
double
x
)
4
{
5
__asm__
(
"frndint"
:
"+t"
(
x
));
6
return
x
;
7
}