18 #ifndef _@GUARD_PREFIX@_FLOAT_H
21 @PRAGMA_SYSTEM_HEADER@
26 #@INCLUDE_NEXT@ @NEXT_FLOAT_H@
28 #ifndef _@GUARD_PREFIX@_FLOAT_H
29 #define _@GUARD_PREFIX@_FLOAT_H
33 #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
36 # define LDBL_MANT_DIG 64
42 # define LDBL_EPSILON 1.0842021724855044340E-19L
45 # define LDBL_MIN_EXP (-16381)
48 # define LDBL_MAX_EXP 16384
51 # define LDBL_MIN 3.3621031431120935063E-4932L
54 # define LDBL_MAX 1.1897314953572317650E+4932L
56 # undef LDBL_MIN_10_EXP
57 # define LDBL_MIN_10_EXP (-4931)
59 # undef LDBL_MAX_10_EXP
60 # define LDBL_MAX_10_EXP 4932
66 #if defined __i386__ && defined __FreeBSD__
69 # define LDBL_MANT_DIG 64
75 # define LDBL_EPSILON 1.084202172485504434007452800869941711426e-19L
78 # define LDBL_MIN_EXP (-16381)
81 # define LDBL_MAX_EXP 16384
84 # define LDBL_MIN 3.3621031431120935E-4932L
96 union gl_long_double_union
98 struct {
unsigned int lo;
unsigned int hi;
unsigned int exponent; } xd;
101 extern const union gl_long_double_union gl_LDBL_MAX;
102 # define LDBL_MAX (gl_LDBL_MAX.ld)
104 # undef LDBL_MIN_10_EXP
105 # define LDBL_MIN_10_EXP (-4931)
107 # undef LDBL_MAX_10_EXP
108 # define LDBL_MAX_10_EXP 4932
114 #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
116 # define LDBL_MIN_EXP DBL_MIN_EXP
117 # undef LDBL_MIN_10_EXP
118 # define LDBL_MIN_10_EXP DBL_MIN_10_EXP
120 # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L
122 #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
149 union gl_long_double_union
151 struct {
double hi;
double lo; } dd;
154 extern const union gl_long_double_union gl_LDBL_MAX;
155 # define LDBL_MAX (gl_LDBL_MAX.ld)
161 #if defined __sgi && (LDBL_MANT_DIG >= 106)
162 # undef LDBL_MANT_DIG
163 # define LDBL_MANT_DIG 106
164 # if defined __GNUC__
166 # define LDBL_MIN_EXP DBL_MIN_EXP
167 # undef LDBL_MIN_10_EXP
168 # define LDBL_MIN_10_EXP DBL_MIN_10_EXP
170 # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L
172 # define LDBL_EPSILON 2.46519032881566189191165176650870696773e-32L
184 static void (*_gl_float_fix_itold) (
long double *,
int) =
_Qp_itoq;
void const char const char const int
void _Qp_itoq(long double *result, int a)
Replacement for 'int' to 'long double' conversion routine.