Sign in
third-party-mirror
/
mingw-w64
/
518dd33c326f65684e8e938262b2a9ca94804cfb
/
.
/
mingw-w64-crt
/
math
/
signbitl.c
blob: ee7542092d183b0d2f416b826880022a9c42baf3 [
file
] [
log
] [
blame
]
#define
__FP_SIGNBIT
0x0200
int
__signbitl
(
long
double
x
)
{
unsigned
short
sw
;
__asm__
(
"fxam; fstsw %%ax;"
:
"=a"
(
sw
)
:
"t"
(
x
)
);
return
(
sw
&
__FP_SIGNBIT
)
!=
0
;
}
int
__attribute__
((
alias
(
"__signbitl"
)))
signbitl
(
long
double
);