diff --git a/ircd/fmt.cc b/ircd/fmt.cc index 9a9339332..425e7a88c 100644 --- a/ircd/fmt.cc +++ b/ircd/fmt.cc @@ -1119,6 +1119,13 @@ const { return _precision_ > 0; } + + static int floatfield(const double &) + { + return _precision_ > 0? + fmtflags::fixed: + fmtflags::scientific; + } }; karma::rule rule