id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5037,"test_output fails on trivial ""inf"" and ""nan"" formatting differences",Jim Bell ,Steven Watanabe,"test_output fails on trivial, platform-specific output formatting differences. In the output below you see different forms of expected results: ""1.#INF"", ""-1.#INF"", ""-nan"", etc. Since (I think) C++ doesn't define these specifically, perhaps a regex should be used to capture all variants. [http://tinyurl.com/2fkt6zl Mingw-64 GCC 4.6, as of 1/4/2011]: {{{ ../libs/units/test/test_output.cpp(322): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == ""inf meter"" failed [1.#INF meter != inf meter] ../libs/units/test/test_output.cpp(322): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == L""inf meter"" failed ../libs/units/test/test_output.cpp(323): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == ""-inf meter"" failed [-1.#INF meter != -inf meter] ../libs/units/test/test_output.cpp(323): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == L""-inf meter"" failed ../libs/units/test/test_output.cpp(324): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == ""nan meter"" failed [1.#QNAN meter != nan meter] ../libs/units/test/test_output.cpp(324): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == L""nan meter"" failed ../libs/units/test/test_output.cpp(325): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == ""-nan meter"" failed [-1.#IND meter != -nan meter] ../libs/units/test/test_output.cpp(325): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == L""-nan meter"" failed }}} ---- [http://tinyurl.com/34hpsfj FreeBSD8 GCC 4.2.1, as of 1/4/2011]: {{{ ../libs/units/test/test_output.cpp(325): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == ""-nan meter"" failed [nan meter != -nan meter] ../libs/units/test/test_output.cpp(325): error in ""test_output_autoprefixed_quantity_name"": check ss.str() == L""-nan meter"" failed }}} ---- Other platform failures are similiar. ",Bugs,closed,Boost 1.46.0,units,Boost Development Trunk,Regression,fixed,,