Mercurial > hg > CbC > CbC_gcc
comparison gcc/ginclude/float.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
155 #undef DECIMAL_DIG | 155 #undef DECIMAL_DIG |
156 #define DECIMAL_DIG __DECIMAL_DIG__ | 156 #define DECIMAL_DIG __DECIMAL_DIG__ |
157 | 157 |
158 #endif /* C99 */ | 158 #endif /* C99 */ |
159 | 159 |
160 #if defined (__STDC_VERSION__) && __STDC_VERSION__ > 199901L | |
161 /* Versions of DECIMAL_DIG for each floating-point type. */ | |
162 #undef FLT_DECIMAL_DIG | |
163 #undef DBL_DECIMAL_DIG | |
164 #undef LDBL_DECIMAL_DIG | |
165 #define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__ | |
166 #define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__ | |
167 #define LDBL_DECIMAL_DIG __DECIMAL_DIG__ | |
168 | |
169 /* Whether types support subnormal numbers. */ | |
170 #undef FLT_HAS_SUBNORM | |
171 #undef DBL_HAS_SUBNORM | |
172 #undef LDBL_HAS_SUBNORM | |
173 #define FLT_HAS_SUBNORM __FLT_HAS_DENORM__ | |
174 #define DBL_HAS_SUBNORM __DBL_HAS_DENORM__ | |
175 #define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__ | |
176 | |
177 /* Minimum positive values, including subnormals. */ | |
178 #undef FLT_TRUE_MIN | |
179 #undef DBL_TRUE_MIN | |
180 #undef LDBL_TRUE_MIN | |
181 #if __FLT_HAS_DENORM__ | |
182 #define FLT_TRUE_MIN __FLT_DENORM_MIN__ | |
183 #else | |
184 #define FLT_TRUE_MIN __FLT_MIN__ | |
185 #endif | |
186 #if __DBL_HAS_DENORM__ | |
187 #define DBL_TRUE_MIN __DBL_DENORM_MIN__ | |
188 #else | |
189 #define DBL_TRUE_MIN __DBL_MIN__ | |
190 #endif | |
191 #if __LDBL_HAS_DENORM__ | |
192 #define LDBL_TRUE_MIN __LDBL_DENORM_MIN__ | |
193 #else | |
194 #define LDBL_TRUE_MIN __LDBL_MIN__ | |
195 #endif | |
196 | |
197 #endif /* C1X */ | |
198 | |
160 #ifdef __STDC_WANT_DEC_FP__ | 199 #ifdef __STDC_WANT_DEC_FP__ |
161 /* Draft Technical Report 24732, extension for decimal floating-point | 200 /* Draft Technical Report 24732, extension for decimal floating-point |
162 arithmetic: Characteristic of decimal floating types <float.h>. */ | 201 arithmetic: Characteristic of decimal floating types <float.h>. */ |
163 | 202 |
164 /* Number of base-FLT_RADIX digits in the significand, p. */ | 203 /* Number of base-FLT_RADIX digits in the significand, p. */ |