| 2236 | } |
| 2237 | |
| 2238 | void FormatSigned(LongLong value) { |
| 2239 | ULongLong abs_value = static_cast<ULongLong>(value); |
| 2240 | bool negative = value < 0; |
| 2241 | if (negative) |
| 2242 | abs_value = 0 - abs_value; |
| 2243 | str_ = format_decimal(abs_value); |
| 2244 | if (negative) |
| 2245 | *--str_ = '-'; |
| 2246 | } |
| 2247 | |
| 2248 | public: |
| 2249 | explicit FormatInt(int value) { FormatSigned(value); } |
nothing calls this directly
no test coverage detected