mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Fix ulp distance calculation for numbers with different signs
This is a simplification of the fix proposed in #2152, with the critical function split out so that it can be tested directly, without having to go through the ULP matcher. Closes #2152
This commit is contained in:
@@ -1386,6 +1386,6 @@ due to unexpected exception with message:
|
||||
Why would you throw a std::string?
|
||||
|
||||
===============================================================================
|
||||
test cases: 365 | 289 passed | 70 failed | 6 failed as expected
|
||||
assertions: 2092 | 1940 passed | 129 failed | 23 failed as expected
|
||||
test cases: 368 | 292 passed | 70 failed | 6 failed as expected
|
||||
assertions: 2103 | 1951 passed | 129 failed | 23 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user