From dee690881bd33bb77bee1d5ffce643e8bef84a33 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Sun, 9 Jun 2019 17:40:37 +0200 Subject: [PATCH] keep documentation comment formatted properly --- include/fmt/safe_duration_cast.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/fmt/safe_duration_cast.h b/include/fmt/safe_duration_cast.h index 7deebcf9b3c5..e71d638f30e4 100644 --- a/include/fmt/safe_duration_cast.h +++ b/include/fmt/safe_duration_cast.h @@ -92,6 +92,7 @@ FMT_CONSTEXPR To lossless_integral_conversion(const From from, int& ec) { return from; } // function +// clang-format off /** * converts From to To if possible, otherwise ec is set. * @@ -99,10 +100,12 @@ FMT_CONSTEXPR To lossless_integral_conversion(const From from, int& ec) { * ---------------------------------|--------------- * NaN | NaN * Inf | Inf - * normal, fits in output | converted (possibly with loss of - * precision) normal, does not fit in output | ec is set subnormal | best - * effort -Inf | -Inf + * normal, fits in output | converted (possibly lossy) + * normal, does not fit in output | ec is set + * subnormal | best effort + * -Inf | -Inf */ +// clang-format on template ::value)> FMT_CONSTEXPR To safe_float_conversion(const From from, int& ec) {