different neg style for consistency

This commit is contained in:
Jett 2016-10-21 00:09:31 -05:00
parent dec60cb66a
commit babb65df46
2 changed files with 4 additions and 4 deletions

View File

@ -8849,7 +8849,7 @@ basic_json_parser_63:
// if negative number, reverse sign
if (negative_sign)
{
result = -result;
result *= -1;
}
}
@ -8915,7 +8915,7 @@ skip_loop:
}
else if (exp < 0)
{
exp = -exp;
exp *= -1;
for (std::size_t count = 0; exp; ++count, exp >>= 1)
{

View File

@ -8146,7 +8146,7 @@ class basic_json
// if negative number, reverse sign
if (negative_sign)
{
result = -result;
result *= -1;
}
}
@ -8212,7 +8212,7 @@ skip_loop:
}
else if (exp < 0)
{
exp = -exp;
exp *= -1;
for (std::size_t count = 0; exp; ++count, exp >>= 1)
{