Commit 5b8641dd authored by Victor Zverovich's avatar Victor Zverovich

Undo branching reduction

parent 8c88abde
......@@ -2983,8 +2983,7 @@ class format_int {
bool negative = value < 0;
if (negative) abs_value = 0 - abs_value;
str_ = format_decimal(abs_value);
str_[-1] = '-';
str_ -= negative ? 1 : 0;
if (negative) *--str_ = '-';
}
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment