mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 05:54:29 +02:00
Fix a bug in the float hash test - checking that infinity & -infinity hash to
the same value. The hash function is actually working better on the compilers that were failing this test. [SVN r28028]
This commit is contained in:
@@ -42,7 +42,7 @@ void float_tests(T* = 0)
|
||||
BOOST_CHECK_EQUAL(x1(infinity), x1(infinity4));
|
||||
|
||||
BOOST_CHECK_EQUAL(minus_infinity, minus_infinity2);
|
||||
BOOST_CHECK_EQUAL(x1(minus_infinity), x1(infinity2));
|
||||
BOOST_CHECK_EQUAL(x1(minus_infinity), x1(minus_infinity2));
|
||||
BOOST_CHECK_EQUAL(minus_infinity, minus_infinity3);
|
||||
BOOST_CHECK_EQUAL(x1(minus_infinity), x1(minus_infinity3));
|
||||
|
||||
|
Reference in New Issue
Block a user