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

Method write_float

source/extern/fmt/format.h:2721–2732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2719
2720template <typename OutputIt, typename DecimalFP, typename Char>
2721FMT_CONSTEXPR20 auto write_float(OutputIt out, const DecimalFP& f,
2722 const format_specs<Char>& specs,
2723 float_specs fspecs, locale_ref loc)
2724 -> OutputIt {
2725 if (is_constant_evaluated()) {
2726 return do_write_float<OutputIt, DecimalFP, Char,
2727 fallback_digit_grouping<Char>>(out, f, specs, fspecs,
2728 loc);
2729 } else {
2730 return do_write_float(out, f, specs, fspecs, loc);
2731 }
2732}
2733
2734template <typename T> constexpr auto isnan(T value) -> bool {
2735 return !(value >= value); // std::isnan doesn't support __float128.

Callers

nothing calls this directly

Calls 9

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

Tested by

no test coverage detected