| 52 | |
| 53 | template <typename T> |
| 54 | inline TString FloatToString(const T& t, EFloatToStringMode mode = PREC_AUTO, int ndigits = 0) { |
| 55 | char buf[512]; // Max<double>() with mode = PREC_POINT_DIGITS has 309 digits before the decimal point |
| 56 | size_t count = FloatToString(t, buf, sizeof(buf), mode, ndigits); |
| 57 | return TString(buf, count); |
| 58 | } |
| 59 | |
| 60 | namespace NPrivate { |
| 61 | template <class T, bool isSimple> |
no outgoing calls
no test coverage detected