| * This file is part of the mingw-w64 runtime package. |
| * No warranty is given; refer to the file DISCLAIMER within this package. |
| int __fpclassifyl (long double _x){ |
| #if defined(__x86_64__) || defined(_AMD64_) |
| e = hlp.lh.sign_exponent & 0x7fff; |
| unsigned int h = hlp.lh.high; |
| else if (!(h & 0x80000000)) |
| return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? |
| #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) |
| #elif defined(__i386__) || defined(_X86_) |
| return sw & (FP_NAN | FP_NORMAL | FP_ZERO ); |