projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove vis.h protected-visibility hack
[musl]
/
src
/
math
/
powerpc64
/
lroundf.c
1
#include <math.h>
2
3
#ifdef __VSX__
4
5
long lroundf(float x)
6
{
7
long n;
8
__asm__ (
9
"xsrdpi %1, %1\n"
10
"fctid %0, %1\n" : "=d"(n), "+f"(x));
11
return n;
12
}
13
14
#else
15
16
#include "../lroundf.c"
17
18
#endif