| 126 | } |
| 127 | |
| 128 | static inline std::string NumToString(double num) { |
| 129 | char buf[32]; |
| 130 | snprintf(buf, sizeof(buf), "%.3f", num); |
| 131 | return std::string(buf); |
| 132 | } |
| 133 | |
| 134 | static inline std::string HumanReadableString(int64_t num) { |
| 135 | static const int max_shift = 6; |
no outgoing calls
no test coverage detected