Sign in
cobalt
/
cobalt
/
1bdf8b5470dc937a8c92ce7e2f6d3392c6a1180c
/
.
/
third_party
/
musl
/
src
/
math
/
__signbitf.c
blob: 40ad3cfd0cbe6e4d420df2c8b3f9355bf4152cd5 [
file
] [
log
] [
blame
]
#include
"libm.h"
// FIXME: macro in math.h
int
__signbitf
(
float
x
)
{
union
{
float
f
;
uint32_t
i
;
}
y
=
{
x
};
return
y
.
i
>>
31
;
}