fix error in previous ld80 fpclassify commit
This commit is contained in:
parent
f6fd351c70
commit
daaef3552d
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ int __fpclassifyl(long double __x)
|
||||||
union {
|
union {
|
||||||
long double __ld;
|
long double __ld;
|
||||||
__uint16_t __hw[5];
|
__uint16_t __hw[5];
|
||||||
__int64_t __m;
|
int64_t __m;
|
||||||
} __y = { __x };
|
} __y = { __x };
|
||||||
int __ee = __y.__hw[4]&0x7fff;
|
int __ee = __y.__hw[4]&0x7fff;
|
||||||
if (!__ee) return __y.__m ? FP_SUBNORMAL : FP_ZERO;
|
if (!__ee) return __y.__m ? FP_SUBNORMAL : FP_ZERO;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue