different neg style for consistency
This commit is contained in:
parent
dec60cb66a
commit
babb65df46
@ -8849,7 +8849,7 @@ basic_json_parser_63:
|
|||||||
// if negative number, reverse sign
|
// if negative number, reverse sign
|
||||||
if (negative_sign)
|
if (negative_sign)
|
||||||
{
|
{
|
||||||
result = -result;
|
result *= -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8915,7 +8915,7 @@ skip_loop:
|
|||||||
}
|
}
|
||||||
else if (exp < 0)
|
else if (exp < 0)
|
||||||
{
|
{
|
||||||
exp = -exp;
|
exp *= -1;
|
||||||
|
|
||||||
for (std::size_t count = 0; exp; ++count, exp >>= 1)
|
for (std::size_t count = 0; exp; ++count, exp >>= 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8146,7 +8146,7 @@ class basic_json
|
|||||||
// if negative number, reverse sign
|
// if negative number, reverse sign
|
||||||
if (negative_sign)
|
if (negative_sign)
|
||||||
{
|
{
|
||||||
result = -result;
|
result *= -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8212,7 +8212,7 @@ skip_loop:
|
|||||||
}
|
}
|
||||||
else if (exp < 0)
|
else if (exp < 0)
|
||||||
{
|
{
|
||||||
exp = -exp;
|
exp *= -1;
|
||||||
|
|
||||||
for (std::size_t count = 0; exp; ++count, exp >>= 1)
|
for (std::size_t count = 0; exp; ++count, exp >>= 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user