mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-06-15 08:26:08 +08:00
Merge pull request #390 from correctmost/cm/remove-unreachable-block
Remove an else if statement that is always false
This commit is contained in:
commit
0352ba3fef
@ -45,11 +45,6 @@ void all_32bit_values() {
|
|||||||
std::cerr << "I got " << std::hexfloat << result_value
|
std::cerr << "I got " << std::hexfloat << result_value
|
||||||
<< " but I was expecting " << v << std::endl;
|
<< " but I was expecting " << v << std::endl;
|
||||||
abort();
|
abort();
|
||||||
} else if (std::isnan(v)) {
|
|
||||||
if (!std::isnan(result_value)) {
|
|
||||||
std::cerr << "not nan" << buffer << std::endl;
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
} else if (result_value != v) {
|
} else if (result_value != v) {
|
||||||
std::cerr << "no match ? " << buffer << std::endl;
|
std::cerr << "no match ? " << buffer << std::endl;
|
||||||
std::cout << "started with " << std::hexfloat << v << std::endl;
|
std::cout << "started with " << std::hexfloat << v << std::endl;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user