MCPcopy Create free account
hub / github.com/catboost/catboost / Prec

Function Prec

util/stream/format.h:450–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448 */
449template <typename T>
450static constexpr ::NFormatPrivate::TFloatPrecision<T> Prec(const T& value, const EFloatToStringMode mode, const int ndigits = 0) noexcept {
451 return {value, mode, ndigits};
452}
453
454/**
455 * Output manipulator for adjusting precision of floating point values.

Callers 5

Y_UNIT_TESTFunction · 0.70
format.cppFile · 0.70
ApplyFuncTotokenizedTextFunction · 0.50
BuildLevelMethod · 0.50
ToJsonFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected