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
don't reject unknown/future flags in sigaltstack, allow SS_AUTODISARM
[musl.git]
/
src
/
math
/
s390x
/
truncl.c
blob
4eb920a519ed048923498987126663d972a23651
1
#include <math.h>
2
3
#if defined(__HTM__) || __ARCH__ >= 9
4
5
long double
truncl
(
long double
x
)
6
{
7
__asm__
(
"fixbra %0, 5, %1, 4"
:
"=f"
(
x
) :
"f"
(
x
));
8
return
x
;
9
}
10
11
#else
12
13
#include
"../truncl.c"
14
15
#endif