Sign in
cobalt
/
cobalt
/
97b64f26fb12c9eab352139c26f0b01d1cb6d0b9
/
.
/
third_party
/
musl
/
src
/
math
/
__signbit.c
blob: e700b6b75fcb91e1919ad64b7da4e8c6a16f6065 [
file
] [
log
] [
blame
]
#include
"libm.h"
// FIXME: macro in math.h
int
__signbit
(
double
x
)
{
union
{
double
d
;
uint64_t
i
;
}
y
=
{
x
};
return
y
.
i
>>
63
;
}