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
remove cruft for supposedly-buggy clang from or1k & microblaze syscall_arch
[musl.git]
/
src
/
math
/
s390x
/
nearbyintf.c
blob
704f26781984d8ae6ebfa38a6dff1befde55c26f
1
#include <math.h>
2
3
#if defined(__HTM__) || __ARCH__ >= 9
4
5
float
nearbyintf
(
float
x
)
6
{
7
__asm__
(
"fiebra %0, 0, %1, 4"
:
"=f"
(
x
) :
"f"
(
x
));
8
return
x
;
9
}
10
11
#else
12
13
#include
"../nearbyintf.c"
14
15
#endif