Sign in
third-party-mirror
/
mingw-w64
/
518dd33c326f65684e8e938262b2a9ca94804cfb
/
.
/
mingw-w64-crt
/
math
/
fpclassifyl.c
blob: fb2de850225ad0a8f1236945b4f54244617573a8 [
file
] [
log
] [
blame
]
#include
<math.h>
int
__fpclassifyl
(
long
double
_x
){
unsigned
short
sw
;
__asm__
(
"fxam; fstsw %%ax;"
:
"=a"
(
sw
)
:
"t"
(
_x
)
);
return
sw
&
(
FP_NAN
|
FP_NORMAL
|
FP_ZERO
);
}