MCPcopy Create free account
hub / github.com/LemLib/LemLib / write_float

Method write_float

include/fmt/format.h:2490–2497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2488
2489template <typename OutputIt, typename DecimalFP, typename Char>
2490FMT_CONSTEXPR20 auto write_float(OutputIt out, const DecimalFP& f, const format_specs<Char>& specs, float_specs fspecs,
2491 locale_ref loc) -> OutputIt {
2492 if (is_constant_evaluated()) {
2493 return do_write_float<OutputIt, DecimalFP, Char, fallback_digit_grouping<Char>>(out, f, specs, fspecs, loc);
2494 } else {
2495 return do_write_float(out, f, specs, fspecs, loc);
2496 }
2497}
2498
2499template <typename T> constexpr bool isnan(T value) {
2500 return !(value >= value); // std::isnan doesn't support __float128.

Callers

nothing calls this directly

Calls 9

is_constant_evaluatedFunction · 0.85
base_iteratorFunction · 0.85
convert_floatFunction · 0.85
throw_format_errorFunction · 0.85
const_checkFunction · 0.85
push_backMethod · 0.80
reserveFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected