projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clock_gettime: add support for 32-bit vdso with 64-bit time_t
[musl]
/
src
/
math
/
s390x
/
nearbyintf.c
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