1 // Static data members of -*- C++ -*- numeric_limits classes
3 // Copyright (C) 1999, 2001, 2002, 2005, 2006, 2009, 2010
4 // Free Software Foundation, Inc.
6 // This file is part of the GNU ISO C++ Library. This library is free
7 // software; you can redistribute it and/or modify it under the
8 // terms of the GNU General Public License as published by the
9 // Free Software Foundation; either version 3, or (at your option)
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // Under Section 7 of GPL version 3, you are granted additional
18 // permissions described in the GCC Runtime Library Exception, version
19 // 3.1, as published by the Free Software Foundation.
21 // You should have received a copy of the GNU General Public License and
22 // a copy of the GCC Runtime Library Exception along with this program;
23 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24 // <http://www.gnu.org/licenses/>.
26 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
35 _GLIBCXX_BEGIN_NAMESPACE(std
)
37 #define const _GLIBCXX_USE_CONSTEXPR
39 const bool __numeric_limits_base::is_specialized
;
40 const int __numeric_limits_base::digits
;
41 const int __numeric_limits_base::digits10
;
42 const int __numeric_limits_base::max_digits10
;
43 const bool __numeric_limits_base::is_signed
;
44 const bool __numeric_limits_base::is_integer
;
45 const bool __numeric_limits_base::is_exact
;
46 const int __numeric_limits_base::radix
;
47 const int __numeric_limits_base::min_exponent
;
48 const int __numeric_limits_base::min_exponent10
;
49 const int __numeric_limits_base::max_exponent
;
50 const int __numeric_limits_base::max_exponent10
;
51 const bool __numeric_limits_base::has_infinity
;
52 const bool __numeric_limits_base::has_quiet_NaN
;
53 const bool __numeric_limits_base::has_signaling_NaN
;
54 const float_denorm_style
__numeric_limits_base::has_denorm
;
55 const bool __numeric_limits_base::has_denorm_loss
;
56 const bool __numeric_limits_base::is_iec559
;
57 const bool __numeric_limits_base::is_bounded
;
58 const bool __numeric_limits_base::is_modulo
;
59 const bool __numeric_limits_base::traps
;
60 const bool __numeric_limits_base::tinyness_before
;
61 const float_round_style
__numeric_limits_base::round_style
;
64 const bool numeric_limits
<bool>::is_specialized
;
65 const int numeric_limits
<bool>::digits
;
66 const int numeric_limits
<bool>::digits10
;
67 const int numeric_limits
<bool>::max_digits10
;
68 const bool numeric_limits
<bool>::is_signed
;
69 const bool numeric_limits
<bool>::is_integer
;
70 const bool numeric_limits
<bool>::is_exact
;
71 const int numeric_limits
<bool>::radix
;
72 const int numeric_limits
<bool>::min_exponent
;
73 const int numeric_limits
<bool>::min_exponent10
;
74 const int numeric_limits
<bool>::max_exponent
;
75 const int numeric_limits
<bool>::max_exponent10
;
76 const bool numeric_limits
<bool>::has_infinity
;
77 const bool numeric_limits
<bool>::has_quiet_NaN
;
78 const bool numeric_limits
<bool>::has_signaling_NaN
;
79 const float_denorm_style numeric_limits
<bool>::has_denorm
;
80 const bool numeric_limits
<bool>::has_denorm_loss
;
81 const bool numeric_limits
<bool>::is_iec559
;
82 const bool numeric_limits
<bool>::is_bounded
;
83 const bool numeric_limits
<bool>::is_modulo
;
84 const bool numeric_limits
<bool>::traps
;
85 const bool numeric_limits
<bool>::tinyness_before
;
86 const float_round_style numeric_limits
<bool>::round_style
;
89 const bool numeric_limits
<char>::is_specialized
;
90 const int numeric_limits
<char>::digits
;
91 const int numeric_limits
<char>::digits10
;
92 const int numeric_limits
<char>::max_digits10
;
93 const bool numeric_limits
<char>::is_signed
;
94 const bool numeric_limits
<char>::is_integer
;
95 const bool numeric_limits
<char>::is_exact
;
96 const int numeric_limits
<char>::radix
;
97 const int numeric_limits
<char>::min_exponent
;
98 const int numeric_limits
<char>::min_exponent10
;
99 const int numeric_limits
<char>::max_exponent
;
100 const int numeric_limits
<char>::max_exponent10
;
101 const bool numeric_limits
<char>::has_infinity
;
102 const bool numeric_limits
<char>::has_quiet_NaN
;
103 const bool numeric_limits
<char>::has_signaling_NaN
;
104 const float_denorm_style numeric_limits
<char>::has_denorm
;
105 const bool numeric_limits
<char>::has_denorm_loss
;
106 const bool numeric_limits
<char>::is_iec559
;
107 const bool numeric_limits
<char>::is_bounded
;
108 const bool numeric_limits
<char>::is_modulo
;
109 const bool numeric_limits
<char>::traps
;
110 const bool numeric_limits
<char>::tinyness_before
;
111 const float_round_style numeric_limits
<char>::round_style
;
114 const bool numeric_limits
<signed char>::is_specialized
;
115 const int numeric_limits
<signed char>::digits
;
116 const int numeric_limits
<signed char>::digits10
;
117 const int numeric_limits
<signed char>::max_digits10
;
118 const bool numeric_limits
<signed char>::is_signed
;
119 const bool numeric_limits
<signed char>::is_integer
;
120 const bool numeric_limits
<signed char>::is_exact
;
121 const int numeric_limits
<signed char>::radix
;
122 const int numeric_limits
<signed char>::min_exponent
;
123 const int numeric_limits
<signed char>::min_exponent10
;
124 const int numeric_limits
<signed char>::max_exponent
;
125 const int numeric_limits
<signed char>::max_exponent10
;
126 const bool numeric_limits
<signed char>::has_infinity
;
127 const bool numeric_limits
<signed char>::has_quiet_NaN
;
128 const bool numeric_limits
<signed char>::has_signaling_NaN
;
129 const float_denorm_style numeric_limits
<signed char>::has_denorm
;
130 const bool numeric_limits
<signed char>::has_denorm_loss
;
131 const bool numeric_limits
<signed char>::is_iec559
;
132 const bool numeric_limits
<signed char>::is_bounded
;
133 const bool numeric_limits
<signed char>::is_modulo
;
134 const bool numeric_limits
<signed char>::traps
;
135 const bool numeric_limits
<signed char>::tinyness_before
;
136 const float_round_style numeric_limits
<signed char>::round_style
;
139 const bool numeric_limits
<unsigned char>::is_specialized
;
140 const int numeric_limits
<unsigned char>::digits
;
141 const int numeric_limits
<unsigned char>::digits10
;
142 const int numeric_limits
<unsigned char>::max_digits10
;
143 const bool numeric_limits
<unsigned char>::is_signed
;
144 const bool numeric_limits
<unsigned char>::is_integer
;
145 const bool numeric_limits
<unsigned char>::is_exact
;
146 const int numeric_limits
<unsigned char>::radix
;
147 const int numeric_limits
<unsigned char>::min_exponent
;
148 const int numeric_limits
<unsigned char>::min_exponent10
;
149 const int numeric_limits
<unsigned char>::max_exponent
;
150 const int numeric_limits
<unsigned char>::max_exponent10
;
151 const bool numeric_limits
<unsigned char>::has_infinity
;
152 const bool numeric_limits
<unsigned char>::has_quiet_NaN
;
153 const bool numeric_limits
<unsigned char>::has_signaling_NaN
;
154 const float_denorm_style numeric_limits
<unsigned char>::has_denorm
;
155 const bool numeric_limits
<unsigned char>::has_denorm_loss
;
156 const bool numeric_limits
<unsigned char>::is_iec559
;
157 const bool numeric_limits
<unsigned char>::is_bounded
;
158 const bool numeric_limits
<unsigned char>::is_modulo
;
159 const bool numeric_limits
<unsigned char>::traps
;
160 const bool numeric_limits
<unsigned char>::tinyness_before
;
161 const float_round_style numeric_limits
<unsigned char>::round_style
;
164 // This used to be problematic...
165 #ifdef _GLIBCXX_USE_WCHAR_T
166 const bool numeric_limits
<wchar_t>::is_specialized
;
167 const int numeric_limits
<wchar_t>::digits
;
168 const int numeric_limits
<wchar_t>::digits10
;
169 const int numeric_limits
<wchar_t>::max_digits10
;
170 const bool numeric_limits
<wchar_t>::is_signed
;
171 const bool numeric_limits
<wchar_t>::is_integer
;
172 const bool numeric_limits
<wchar_t>::is_exact
;
173 const int numeric_limits
<wchar_t>::radix
;
174 const int numeric_limits
<wchar_t>::min_exponent
;
175 const int numeric_limits
<wchar_t>::min_exponent10
;
176 const int numeric_limits
<wchar_t>::max_exponent
;
177 const int numeric_limits
<wchar_t>::max_exponent10
;
178 const bool numeric_limits
<wchar_t>::has_infinity
;
179 const bool numeric_limits
<wchar_t>::has_quiet_NaN
;
180 const bool numeric_limits
<wchar_t>::has_signaling_NaN
;
181 const float_denorm_style numeric_limits
<wchar_t>::has_denorm
;
182 const bool numeric_limits
<wchar_t>::has_denorm_loss
;
183 const bool numeric_limits
<wchar_t>::is_iec559
;
184 const bool numeric_limits
<wchar_t>::is_bounded
;
185 const bool numeric_limits
<wchar_t>::is_modulo
;
186 const bool numeric_limits
<wchar_t>::traps
;
187 const bool numeric_limits
<wchar_t>::tinyness_before
;
188 const float_round_style numeric_limits
<wchar_t>::round_style
;
189 #endif // _GLIBCXX_USE_WCHAR_T
192 const bool numeric_limits
<short>::is_specialized
;
193 const int numeric_limits
<short>::digits
;
194 const int numeric_limits
<short>::digits10
;
195 const int numeric_limits
<short>::max_digits10
;
196 const bool numeric_limits
<short>::is_signed
;
197 const bool numeric_limits
<short>::is_integer
;
198 const bool numeric_limits
<short>::is_exact
;
199 const int numeric_limits
<short>::radix
;
200 const int numeric_limits
<short>::min_exponent
;
201 const int numeric_limits
<short>::min_exponent10
;
202 const int numeric_limits
<short>::max_exponent
;
203 const int numeric_limits
<short>::max_exponent10
;
204 const bool numeric_limits
<short>::has_infinity
;
205 const bool numeric_limits
<short>::has_quiet_NaN
;
206 const bool numeric_limits
<short>::has_signaling_NaN
;
207 const float_denorm_style numeric_limits
<short>::has_denorm
;
208 const bool numeric_limits
<short>::has_denorm_loss
;
209 const bool numeric_limits
<short>::is_iec559
;
210 const bool numeric_limits
<short>::is_bounded
;
211 const bool numeric_limits
<short>::is_modulo
;
212 const bool numeric_limits
<short>::traps
;
213 const bool numeric_limits
<short>::tinyness_before
;
214 const float_round_style numeric_limits
<short>::round_style
;
217 const bool numeric_limits
<unsigned short>::is_specialized
;
218 const int numeric_limits
<unsigned short>::digits
;
219 const int numeric_limits
<unsigned short>::digits10
;
220 const int numeric_limits
<unsigned short>::max_digits10
;
221 const bool numeric_limits
<unsigned short>::is_signed
;
222 const bool numeric_limits
<unsigned short>::is_integer
;
223 const bool numeric_limits
<unsigned short>::is_exact
;
224 const int numeric_limits
<unsigned short>::radix
;
225 const int numeric_limits
<unsigned short>::min_exponent
;
226 const int numeric_limits
<unsigned short>::min_exponent10
;
227 const int numeric_limits
<unsigned short>::max_exponent
;
228 const int numeric_limits
<unsigned short>::max_exponent10
;
229 const bool numeric_limits
<unsigned short>::has_infinity
;
230 const bool numeric_limits
<unsigned short>::has_quiet_NaN
;
231 const bool numeric_limits
<unsigned short>::has_signaling_NaN
;
232 const float_denorm_style numeric_limits
<unsigned short>::has_denorm
;
233 const bool numeric_limits
<unsigned short>::has_denorm_loss
;
234 const bool numeric_limits
<unsigned short>::is_iec559
;
235 const bool numeric_limits
<unsigned short>::is_bounded
;
236 const bool numeric_limits
<unsigned short>::is_modulo
;
237 const bool numeric_limits
<unsigned short>::traps
;
238 const bool numeric_limits
<unsigned short>::tinyness_before
;
239 const float_round_style numeric_limits
<unsigned short>::round_style
;
242 const bool numeric_limits
<int>::is_specialized
;
243 const int numeric_limits
<int>::digits
;
244 const int numeric_limits
<int>::digits10
;
245 const int numeric_limits
<int>::max_digits10
;
246 const bool numeric_limits
<int>::is_signed
;
247 const bool numeric_limits
<int>::is_integer
;
248 const bool numeric_limits
<int>::is_exact
;
249 const int numeric_limits
<int>::radix
;
250 const int numeric_limits
<int>::min_exponent
;
251 const int numeric_limits
<int>::min_exponent10
;
252 const int numeric_limits
<int>::max_exponent
;
253 const int numeric_limits
<int>::max_exponent10
;
254 const bool numeric_limits
<int>::has_infinity
;
255 const bool numeric_limits
<int>::has_quiet_NaN
;
256 const bool numeric_limits
<int>::has_signaling_NaN
;
257 const float_denorm_style numeric_limits
<int>::has_denorm
;
258 const bool numeric_limits
<int>::has_denorm_loss
;
259 const bool numeric_limits
<int>::is_iec559
;
260 const bool numeric_limits
<int>::is_bounded
;
261 const bool numeric_limits
<int>::is_modulo
;
262 const bool numeric_limits
<int>::traps
;
263 const bool numeric_limits
<int>::tinyness_before
;
264 const float_round_style numeric_limits
<int>::round_style
;
267 const bool numeric_limits
<unsigned int>::is_specialized
;
268 const int numeric_limits
<unsigned int>::digits
;
269 const int numeric_limits
<unsigned int>::digits10
;
270 const int numeric_limits
<unsigned int>::max_digits10
;
271 const bool numeric_limits
<unsigned int>::is_signed
;
272 const bool numeric_limits
<unsigned int>::is_integer
;
273 const bool numeric_limits
<unsigned int>::is_exact
;
274 const int numeric_limits
<unsigned int>::radix
;
275 const int numeric_limits
<unsigned int>::min_exponent
;
276 const int numeric_limits
<unsigned int>::min_exponent10
;
277 const int numeric_limits
<unsigned int>::max_exponent
;
278 const int numeric_limits
<unsigned int>::max_exponent10
;
279 const bool numeric_limits
<unsigned int>::has_infinity
;
280 const bool numeric_limits
<unsigned int>::has_quiet_NaN
;
281 const bool numeric_limits
<unsigned int>::has_signaling_NaN
;
282 const float_denorm_style numeric_limits
<unsigned int>::has_denorm
;
283 const bool numeric_limits
<unsigned int>::has_denorm_loss
;
284 const bool numeric_limits
<unsigned int>::is_iec559
;
285 const bool numeric_limits
<unsigned int>::is_bounded
;
286 const bool numeric_limits
<unsigned int>::is_modulo
;
287 const bool numeric_limits
<unsigned int>::traps
;
288 const bool numeric_limits
<unsigned int>::tinyness_before
;
289 const float_round_style numeric_limits
<unsigned int>::round_style
;
292 const bool numeric_limits
<long>::is_specialized
;
293 const int numeric_limits
<long>::digits
;
294 const int numeric_limits
<long>::digits10
;
295 const int numeric_limits
<long>::max_digits10
;
296 const bool numeric_limits
<long>::is_signed
;
297 const bool numeric_limits
<long>::is_integer
;
298 const bool numeric_limits
<long>::is_exact
;
299 const int numeric_limits
<long>::radix
;
300 const int numeric_limits
<long>::min_exponent
;
301 const int numeric_limits
<long>::min_exponent10
;
302 const int numeric_limits
<long>::max_exponent
;
303 const int numeric_limits
<long>::max_exponent10
;
304 const bool numeric_limits
<long>::has_infinity
;
305 const bool numeric_limits
<long>::has_quiet_NaN
;
306 const bool numeric_limits
<long>::has_signaling_NaN
;
307 const float_denorm_style numeric_limits
<long>::has_denorm
;
308 const bool numeric_limits
<long>::has_denorm_loss
;
309 const bool numeric_limits
<long>::is_iec559
;
310 const bool numeric_limits
<long>::is_bounded
;
311 const bool numeric_limits
<long>::is_modulo
;
312 const bool numeric_limits
<long>::traps
;
313 const bool numeric_limits
<long>::tinyness_before
;
314 const float_round_style numeric_limits
<long>::round_style
;
317 const bool numeric_limits
<unsigned long>::is_specialized
;
318 const int numeric_limits
<unsigned long>::digits
;
319 const int numeric_limits
<unsigned long>::digits10
;
320 const int numeric_limits
<unsigned long>::max_digits10
;
321 const bool numeric_limits
<unsigned long>::is_signed
;
322 const bool numeric_limits
<unsigned long>::is_integer
;
323 const bool numeric_limits
<unsigned long>::is_exact
;
324 const int numeric_limits
<unsigned long>::radix
;
325 const int numeric_limits
<unsigned long>::min_exponent
;
326 const int numeric_limits
<unsigned long>::min_exponent10
;
327 const int numeric_limits
<unsigned long>::max_exponent
;
328 const int numeric_limits
<unsigned long>::max_exponent10
;
329 const bool numeric_limits
<unsigned long>::has_infinity
;
330 const bool numeric_limits
<unsigned long>::has_quiet_NaN
;
331 const bool numeric_limits
<unsigned long>::has_signaling_NaN
;
332 const float_denorm_style numeric_limits
<unsigned long>::has_denorm
;
333 const bool numeric_limits
<unsigned long>::has_denorm_loss
;
334 const bool numeric_limits
<unsigned long>::is_iec559
;
335 const bool numeric_limits
<unsigned long>::is_bounded
;
336 const bool numeric_limits
<unsigned long>::is_modulo
;
337 const bool numeric_limits
<unsigned long>::traps
;
338 const bool numeric_limits
<unsigned long>::tinyness_before
;
339 const float_round_style numeric_limits
<unsigned long>::round_style
;
341 // NOTA BENE: long long is an extension
342 const bool numeric_limits
<long long>::is_specialized
;
343 const int numeric_limits
<long long>::digits
;
344 const int numeric_limits
<long long>::digits10
;
345 const int numeric_limits
<long long>::max_digits10
;
346 const bool numeric_limits
<long long>::is_signed
;
347 const bool numeric_limits
<long long>::is_integer
;
348 const bool numeric_limits
<long long>::is_exact
;
349 const int numeric_limits
<long long>::radix
;
350 const int numeric_limits
<long long>::min_exponent
;
351 const int numeric_limits
<long long>::min_exponent10
;
352 const int numeric_limits
<long long>::max_exponent
;
353 const int numeric_limits
<long long>::max_exponent10
;
354 const bool numeric_limits
<long long>::has_infinity
;
355 const bool numeric_limits
<long long>::has_quiet_NaN
;
356 const bool numeric_limits
<long long>::has_signaling_NaN
;
357 const float_denorm_style numeric_limits
<long long>::has_denorm
;
358 const bool numeric_limits
<long long>::has_denorm_loss
;
359 const bool numeric_limits
<long long>::is_iec559
;
360 const bool numeric_limits
<long long>::is_bounded
;
361 const bool numeric_limits
<long long>::is_modulo
;
362 const bool numeric_limits
<long long>::traps
;
363 const bool numeric_limits
<long long>::tinyness_before
;
364 const float_round_style numeric_limits
<long long>::round_style
;
366 const bool numeric_limits
<unsigned long long>::is_specialized
;
367 const int numeric_limits
<unsigned long long>::digits
;
368 const int numeric_limits
<unsigned long long>::digits10
;
369 const int numeric_limits
<unsigned long long>::max_digits10
;
370 const bool numeric_limits
<unsigned long long>::is_signed
;
371 const bool numeric_limits
<unsigned long long>::is_integer
;
372 const bool numeric_limits
<unsigned long long>::is_exact
;
373 const int numeric_limits
<unsigned long long>::radix
;
374 const int numeric_limits
<unsigned long long>::min_exponent
;
375 const int numeric_limits
<unsigned long long>::min_exponent10
;
376 const int numeric_limits
<unsigned long long>::max_exponent
;
377 const int numeric_limits
<unsigned long long>::max_exponent10
;
378 const bool numeric_limits
<unsigned long long>::has_infinity
;
379 const bool numeric_limits
<unsigned long long>::has_quiet_NaN
;
380 const bool numeric_limits
<unsigned long long>::has_signaling_NaN
;
381 const float_denorm_style numeric_limits
<unsigned long long>::has_denorm
;
382 const bool numeric_limits
<unsigned long long>::has_denorm_loss
;
383 const bool numeric_limits
<unsigned long long>::is_iec559
;
384 const bool numeric_limits
<unsigned long long>::is_bounded
;
385 const bool numeric_limits
<unsigned long long>::is_modulo
;
386 const bool numeric_limits
<unsigned long long>::traps
;
387 const bool numeric_limits
<unsigned long long>::tinyness_before
;
388 const float_round_style numeric_limits
<unsigned long long>::round_style
;
391 const bool numeric_limits
<float>::is_specialized
;
392 const int numeric_limits
<float>::digits
;
393 const int numeric_limits
<float>::digits10
;
394 const int numeric_limits
<float>::max_digits10
;
395 const bool numeric_limits
<float>::is_signed
;
396 const bool numeric_limits
<float>::is_integer
;
397 const bool numeric_limits
<float>::is_exact
;
398 const int numeric_limits
<float>::radix
;
399 const int numeric_limits
<float>::min_exponent
;
400 const int numeric_limits
<float>::min_exponent10
;
401 const int numeric_limits
<float>::max_exponent
;
402 const int numeric_limits
<float>::max_exponent10
;
403 const bool numeric_limits
<float>::has_infinity
;
404 const bool numeric_limits
<float>::has_quiet_NaN
;
405 const bool numeric_limits
<float>::has_signaling_NaN
;
406 const float_denorm_style numeric_limits
<float>::has_denorm
;
407 const bool numeric_limits
<float>::has_denorm_loss
;
408 const bool numeric_limits
<float>::is_iec559
;
409 const bool numeric_limits
<float>::is_bounded
;
410 const bool numeric_limits
<float>::is_modulo
;
411 const bool numeric_limits
<float>::traps
;
412 const bool numeric_limits
<float>::tinyness_before
;
413 const float_round_style numeric_limits
<float>::round_style
;
416 const bool numeric_limits
<double>::is_specialized
;
417 const int numeric_limits
<double>::digits
;
418 const int numeric_limits
<double>::digits10
;
419 const int numeric_limits
<double>::max_digits10
;
420 const bool numeric_limits
<double>::is_signed
;
421 const bool numeric_limits
<double>::is_integer
;
422 const bool numeric_limits
<double>::is_exact
;
423 const int numeric_limits
<double>::radix
;
424 const int numeric_limits
<double>::min_exponent
;
425 const int numeric_limits
<double>::min_exponent10
;
426 const int numeric_limits
<double>::max_exponent
;
427 const int numeric_limits
<double>::max_exponent10
;
428 const bool numeric_limits
<double>::has_infinity
;
429 const bool numeric_limits
<double>::has_quiet_NaN
;
430 const bool numeric_limits
<double>::has_signaling_NaN
;
431 const float_denorm_style numeric_limits
<double>::has_denorm
;
432 const bool numeric_limits
<double>::has_denorm_loss
;
433 const bool numeric_limits
<double>::is_iec559
;
434 const bool numeric_limits
<double>::is_bounded
;
435 const bool numeric_limits
<double>::is_modulo
;
436 const bool numeric_limits
<double>::traps
;
437 const bool numeric_limits
<double>::tinyness_before
;
438 const float_round_style numeric_limits
<double>::round_style
;
441 const bool numeric_limits
<long double>::is_specialized
;
442 const int numeric_limits
<long double>::digits
;
443 const int numeric_limits
<long double>::digits10
;
444 const int numeric_limits
<long double>::max_digits10
;
445 const bool numeric_limits
<long double>::is_signed
;
446 const bool numeric_limits
<long double>::is_integer
;
447 const bool numeric_limits
<long double>::is_exact
;
448 const int numeric_limits
<long double>::radix
;
449 const int numeric_limits
<long double>::min_exponent
;
450 const int numeric_limits
<long double>::min_exponent10
;
451 const int numeric_limits
<long double>::max_exponent
;
452 const int numeric_limits
<long double>::max_exponent10
;
453 const bool numeric_limits
<long double>::has_infinity
;
454 const bool numeric_limits
<long double>::has_quiet_NaN
;
455 const bool numeric_limits
<long double>::has_signaling_NaN
;
456 const float_denorm_style numeric_limits
<long double>::has_denorm
;
457 const bool numeric_limits
<long double>::has_denorm_loss
;
458 const bool numeric_limits
<long double>::is_iec559
;
459 const bool numeric_limits
<long double>::is_bounded
;
460 const bool numeric_limits
<long double>::is_modulo
;
461 const bool numeric_limits
<long double>::traps
;
462 const bool numeric_limits
<long double>::tinyness_before
;
463 const float_round_style numeric_limits
<long double>::round_style
;
466 const bool numeric_limits
<char16_t
>::is_specialized
;
467 const int numeric_limits
<char16_t
>::digits
;
468 const int numeric_limits
<char16_t
>::digits10
;
469 const int numeric_limits
<char16_t
>::max_digits10
;
470 const bool numeric_limits
<char16_t
>::is_signed
;
471 const bool numeric_limits
<char16_t
>::is_integer
;
472 const bool numeric_limits
<char16_t
>::is_exact
;
473 const int numeric_limits
<char16_t
>::radix
;
474 const int numeric_limits
<char16_t
>::min_exponent
;
475 const int numeric_limits
<char16_t
>::min_exponent10
;
476 const int numeric_limits
<char16_t
>::max_exponent
;
477 const int numeric_limits
<char16_t
>::max_exponent10
;
478 const bool numeric_limits
<char16_t
>::has_infinity
;
479 const bool numeric_limits
<char16_t
>::has_quiet_NaN
;
480 const bool numeric_limits
<char16_t
>::has_signaling_NaN
;
481 const float_denorm_style numeric_limits
<char16_t
>::has_denorm
;
482 const bool numeric_limits
<char16_t
>::has_denorm_loss
;
483 const bool numeric_limits
<char16_t
>::is_iec559
;
484 const bool numeric_limits
<char16_t
>::is_bounded
;
485 const bool numeric_limits
<char16_t
>::is_modulo
;
486 const bool numeric_limits
<char16_t
>::traps
;
487 const bool numeric_limits
<char16_t
>::tinyness_before
;
488 const float_round_style numeric_limits
<char16_t
>::round_style
;
491 const bool numeric_limits
<char32_t
>::is_specialized
;
492 const int numeric_limits
<char32_t
>::digits
;
493 const int numeric_limits
<char32_t
>::digits10
;
494 const int numeric_limits
<char32_t
>::max_digits10
;
495 const bool numeric_limits
<char32_t
>::is_signed
;
496 const bool numeric_limits
<char32_t
>::is_integer
;
497 const bool numeric_limits
<char32_t
>::is_exact
;
498 const int numeric_limits
<char32_t
>::radix
;
499 const int numeric_limits
<char32_t
>::min_exponent
;
500 const int numeric_limits
<char32_t
>::min_exponent10
;
501 const int numeric_limits
<char32_t
>::max_exponent
;
502 const int numeric_limits
<char32_t
>::max_exponent10
;
503 const bool numeric_limits
<char32_t
>::has_infinity
;
504 const bool numeric_limits
<char32_t
>::has_quiet_NaN
;
505 const bool numeric_limits
<char32_t
>::has_signaling_NaN
;
506 const float_denorm_style numeric_limits
<char32_t
>::has_denorm
;
507 const bool numeric_limits
<char32_t
>::has_denorm_loss
;
508 const bool numeric_limits
<char32_t
>::is_iec559
;
509 const bool numeric_limits
<char32_t
>::is_bounded
;
510 const bool numeric_limits
<char32_t
>::is_modulo
;
511 const bool numeric_limits
<char32_t
>::traps
;
512 const bool numeric_limits
<char32_t
>::tinyness_before
;
513 const float_round_style numeric_limits
<char32_t
>::round_style
;
517 _GLIBCXX_END_NAMESPACE
519 // XXX GLIBCXX_ABI Deprecated
520 #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
522 #define _GLIBCXX_NUM_LIM_COMPAT(type, member, len) \
523 extern "C" type _ZNSt14numeric_limitsIeE ## len ## member ## E \
524 __attribute__ ((alias ("_ZNSt14numeric_limitsIdE" #len #member "E")))
525 _GLIBCXX_NUM_LIM_COMPAT (bool, is_specialized
, 14);
526 _GLIBCXX_NUM_LIM_COMPAT (int, digits
, 6);
527 _GLIBCXX_NUM_LIM_COMPAT (int, digits10
, 8);
528 _GLIBCXX_NUM_LIM_COMPAT (bool, is_signed
, 9);
529 _GLIBCXX_NUM_LIM_COMPAT (bool, is_integer
, 10);
530 _GLIBCXX_NUM_LIM_COMPAT (bool, is_exact
, 8);
531 _GLIBCXX_NUM_LIM_COMPAT (int, radix
, 5);
532 _GLIBCXX_NUM_LIM_COMPAT (int, min_exponent
, 12);
533 _GLIBCXX_NUM_LIM_COMPAT (int, min_exponent10
, 14);
534 _GLIBCXX_NUM_LIM_COMPAT (int, max_exponent
, 12);
535 _GLIBCXX_NUM_LIM_COMPAT (int, max_exponent10
, 14);
536 _GLIBCXX_NUM_LIM_COMPAT (bool, has_infinity
, 12);
537 _GLIBCXX_NUM_LIM_COMPAT (bool, has_quiet_NaN
, 13);
538 _GLIBCXX_NUM_LIM_COMPAT (bool, has_signaling_NaN
, 17);
539 _GLIBCXX_NUM_LIM_COMPAT (std::float_denorm_style
, has_denorm
, 10);
540 _GLIBCXX_NUM_LIM_COMPAT (bool, has_denorm_loss
, 15);
541 _GLIBCXX_NUM_LIM_COMPAT (bool, is_iec559
, 9);
542 _GLIBCXX_NUM_LIM_COMPAT (bool, is_bounded
, 10);
543 _GLIBCXX_NUM_LIM_COMPAT (bool, is_modulo
, 9);
544 _GLIBCXX_NUM_LIM_COMPAT (bool, traps
, 5);
545 _GLIBCXX_NUM_LIM_COMPAT (bool, tinyness_before
, 15);
546 _GLIBCXX_NUM_LIM_COMPAT (std::float_round_style
, round_style
, 11);
548 #endif // _GLIBCXX_LONG_DOUBLE_COMPAT