1 /* The actual implementation for all floating point sizes is in strtod.c.
2 These macros tell it to produce the `long double' version, `strtold'. */
4 #define FLOAT long double
6 #ifdef USE_IN_EXTENDED_LOCALE_MODEL
7 # define STRTOF __strtold_l
9 # define STRTOF strtold
11 #define MPN2FLOAT __mpn_construct_long_double
12 #define FLOAT_HUGE_VAL HUGE_VALL
13 #define SET_MANTISSA(flt, mant) \
14 do { union ieee854_long_double u; \
16 if ((mant & 0x7fffffffffffffffULL) == 0) \
17 mant = 0x4000000000000000ULL; \
18 u.ieee.mantissa0 = (((mant) >> 32) & 0x7fffffff) | 0x80000000; \
19 u.ieee.mantissa1 = (mant) & 0xffffffff; \