Sign in
android
/
platform
/
external
/
musl
/
3da2b5cceae98f5098e62e7865fe6433c1e82775
/
.
/
src
/
math
/
powerpc64
/
trunc.c
blob: 57918548b8b2e7f484d190682be74979f1f54438 [
file
] [
log
] [
blame
]
#include
<math.h>
#ifdef
_ARCH_PWR5X
double
trunc
(
double
x
)
{
__asm__
(
"friz %0, %1"
:
"=d"
(
x
)
:
"d"
(
x
));
return
x
;
}
#else
#include
"../trunc.c"
#endif