|
1 | 1 | // Static data members of -*- C++ -*- numeric_limits classes
|
2 | 2 |
|
3 |
| -// Copyright (C) 1999-2018 Free Software Foundation, Inc. |
| 3 | +// Copyright (C) 1999-2020 Free Software Foundation, Inc. |
4 | 4 | //
|
5 | 5 | // This file is part of the GNU ISO C++ Library. This library is free
|
6 | 6 | // software; you can redistribute it and/or modify it under the
|
@@ -525,6 +525,33 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
525 | 525 | const bool numeric_limits<long double>::tinyness_before;
|
526 | 526 | const float_round_style numeric_limits<long double>::round_style;
|
527 | 527 |
|
| 528 | +#ifdef _GLIBCXX_USE_CHAR8_T |
| 529 | + // char8_t |
| 530 | + const bool numeric_limits<char8_t>::is_specialized; |
| 531 | + const int numeric_limits<char8_t>::digits; |
| 532 | + const int numeric_limits<char8_t>::digits10; |
| 533 | + const int numeric_limits<char8_t>::max_digits10; |
| 534 | + const bool numeric_limits<char8_t>::is_signed; |
| 535 | + const bool numeric_limits<char8_t>::is_integer; |
| 536 | + const bool numeric_limits<char8_t>::is_exact; |
| 537 | + const int numeric_limits<char8_t>::radix; |
| 538 | + const int numeric_limits<char8_t>::min_exponent; |
| 539 | + const int numeric_limits<char8_t>::min_exponent10; |
| 540 | + const int numeric_limits<char8_t>::max_exponent; |
| 541 | + const int numeric_limits<char8_t>::max_exponent10; |
| 542 | + const bool numeric_limits<char8_t>::has_infinity; |
| 543 | + const bool numeric_limits<char8_t>::has_quiet_NaN; |
| 544 | + const bool numeric_limits<char8_t>::has_signaling_NaN; |
| 545 | + const float_denorm_style numeric_limits<char8_t>::has_denorm; |
| 546 | + const bool numeric_limits<char8_t>::has_denorm_loss; |
| 547 | + const bool numeric_limits<char8_t>::is_iec559; |
| 548 | + const bool numeric_limits<char8_t>::is_bounded; |
| 549 | + const bool numeric_limits<char8_t>::is_modulo; |
| 550 | + const bool numeric_limits<char8_t>::traps; |
| 551 | + const bool numeric_limits<char8_t>::tinyness_before; |
| 552 | + const float_round_style numeric_limits<char8_t>::round_style; |
| 553 | +#endif // _GLIBCXX_USE_CHAR8_T |
| 554 | + |
528 | 555 | // char16_t
|
529 | 556 | const bool numeric_limits<char16_t>::is_specialized;
|
530 | 557 | const int numeric_limits<char16_t>::digits;
|
|
0 commit comments