id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11624,BOOST_TEST( 0.0 == 0.0 ) fails under C++11 (GCC and Clang),Tony Lewis ,Raffi Enficiaud,"Thanks again for the new BOOST_TEST() tool, which looks very useful. Unfortunately, I'm seeing strange behaviour from the following code under `g++ -std=c++11` or `clang++ -std=c++11 -stdlib=libc++` : {{{#!cpp #define BOOST_TEST_MODULE zero_mod #include BOOST_AUTO_TEST_CASE( zero ) { BOOST_TEST( 0.0 == 0.0 ); } }}} If I compile with `-std=c++11`, then the test fails: {{{ error: in ""zero"": check 0.0 == 0.0 has failed [0 != 0]. Absolute value exceeds tolerance [|0| > 0] }}} ...but I compile without any `-std=[...]` option, then the test passes.",Bugs,closed,Boost 1.60.0,test,Boost 1.59.0,Problem,fixed,"BOOST_TEST,zero,C++11,float",