remove unneeded branch
This commit is contained in:
parent
7cc60ccc0a
commit
dec60cb66a
@ -8900,8 +8900,6 @@ skip_loop:
|
||||
}
|
||||
|
||||
// adjust number by powers of ten specified by format and exponent.
|
||||
if (result != 0.0L)
|
||||
{
|
||||
constexpr std::array<long double, 9> powerof10 = {
|
||||
{1.e1L, 1.e2L, 1.e4L, 1.e8L, 1.e16L, 1.e32L, 1.e64L, 1.e128L, 1.e256L}
|
||||
};
|
||||
@ -8937,7 +8935,6 @@ skip_loop:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -8197,8 +8197,6 @@ skip_loop:
|
||||
}
|
||||
|
||||
// adjust number by powers of ten specified by format and exponent.
|
||||
if (result != 0.0L)
|
||||
{
|
||||
constexpr std::array<long double, 9> powerof10 = {
|
||||
{1.e1L, 1.e2L, 1.e4L, 1.e8L, 1.e16L, 1.e32L, 1.e64L, 1.e128L, 1.e256L}
|
||||
};
|
||||
@ -8234,7 +8232,6 @@ skip_loop:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user