Sign in
cobalt
/
cobalt
/
286dd7840608e9cf78bc4a603ff2ec2ee39750c5
/
.
/
src
/
third_party
/
musl
/
src
/
math
/
powerpc64
/
ceilf.c
blob: 59ba39617f5849a51cc9832449754a89ca7303b0 [
file
] [
log
] [
blame
]
#include
<math.h>
#ifdef
_ARCH_PWR5X
float
ceilf
(
float
x
)
{
__asm__
(
"frip %0, %1"
:
"=f"
(
x
)
:
"f"
(
x
));
return
x
;
}
#else
#include
"../ceilf.c"
#endif