| 2625 | |
| 2626 | template <typename Char, typename OutputIt, typename DecimalFP> |
| 2627 | FMT_CONSTEXPR20 auto write_float(OutputIt out, const DecimalFP& f, |
| 2628 | const format_specs& specs, sign s, |
| 2629 | int exp_upper, locale_ref loc) -> OutputIt { |
| 2630 | if (is_constant_evaluated()) { |
| 2631 | return do_write_float<Char, fallback_digit_grouping<Char>>(out, f, specs, s, |
| 2632 | exp_upper, loc); |
| 2633 | } else { |
| 2634 | return do_write_float<Char, digit_grouping<Char>>(out, f, specs, s, |
| 2635 | exp_upper, loc); |
| 2636 | } |
| 2637 | } |
| 2638 | |
| 2639 | template <typename T> constexpr auto isnan(T value) -> bool { |
| 2640 | return value != value; // std::isnan doesn't support __float128. |
nothing calls this directly
no test coverage detected