Lines Matching refs:chars_format
110 static_assert((chars_format::scientific & chars_format::fixed) == chars_format{});
111 static_assert((chars_format::scientific & chars_format::hex) == chars_format{});
112 static_assert((chars_format::fixed & chars_format::hex) == chars_format{});
113 static_assert(chars_format::general == (chars_format::fixed | chars_format::scientific));
637 const auto to_result = to_chars(buffer, end(buffer), input, chars_format::scientific); in test_floating_prefix()
653 … const auto fixed_result = to_chars(fixed_buffer, end(fixed_buffer), input, chars_format::fixed); in test_floating_prefix()
690 const auto to_result = to_chars(buffer, end(buffer), input, chars_format::hex); in test_floating_hex_prefix()
696 const auto from_result = from_chars(buffer, last, val, chars_format::hex); in test_floating_hex_prefix()
737 …auto result = to_chars(charconv_buffer, end(charconv_buffer), input, chars_format::fixed, precisio… in test_floating_precision_prefix()
748 …result = to_chars(charconv_buffer, end(charconv_buffer), input, chars_format::scientific, precisio… in test_floating_precision_prefix()
759 result = to_chars(general_buffer, end(general_buffer), input, chars_format::general, 5000); in test_floating_precision_prefix()
814 void test_floating_from_chars(const chars_format fmt) {
836 if (fmt != chars_format::hex) { // "e5" are valid hexits
887 case chars_format::general:
922 case chars_format::scientific:
926 case chars_format::fixed:
930 case chars_format::hex:
970 …const T value, const optional<chars_format> opt_fmt, const optional<int> opt_precision, const stri… in test_floating_to_chars()
980 …for (const auto& fmt : {chars_format::general, chars_format::scientific, chars_format::fixed, char… in all_floating_tests()
1005 test_from_chars<float>(lwg_2403, chars_format::general, 56, errc{}, correct_float); in all_floating_tests()
1006 test_from_chars<double>(lwg_2403, chars_format::general, 56, errc{}, correct_double); in all_floating_tests()
1012 …test_from_chars<float>(p.first, chars_format::general, strlen(p.first), errc{}, _Bit_cast<float>(p… in all_floating_tests()
1016 …test_from_chars<double>(p.first, chars_format::general, strlen(p.first), errc{}, _Bit_cast<double>… in all_floating_tests()
1021 if (t.fmt == chars_format{}) { in all_floating_tests()
1030 if (t.fmt == chars_format{}) { in all_floating_tests()