Merge pull request #390 from correctmost/cm/remove-unreachable-block

Remove an else if statement that is always false
This commit is contained in:
Daniel Lemire 2026-06-09 11:17:35 -04:00 committed by GitHub
commit 0352ba3fef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,11 +45,6 @@ void all_32bit_values() {
std::cerr << "I got " << std::hexfloat << result_value
<< " but I was expecting " << v << std::endl;
abort();
} else if (std::isnan(v)) {
if (!std::isnan(result_value)) {
std::cerr << "not nan" << buffer << std::endl;
abort();
}
} else if (result_value != v) {
std::cerr << "no match ? " << buffer << std::endl;
std::cout << "started with " << std::hexfloat << v << std::endl;