123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #include <openlibm_math.h>
- #include "math_private.h"
- OLM_DLLEXPORT long double
- nanl(const char *s)
- {
- union {
- union IEEEl2bits ieee;
- uint32_t bits[3];
- } u;
- __scan_nan(u.bits, 3, s);
- u.ieee.bits.exp = 0x7fff;
- u.ieee.bits.manh |= 0xc0000000;
- return (u.ieee.e);
- }
|