id summary reporter owner description type status milestone component version severity resolution keywords cc 13343 erf(NaN) and erfc(NaN) do not return NaN Stéphane Laurent John Maddock "Hello, It is expected that erf(NaN) and erfc(NaN) are NaN, but they are not: {{{ #include #include #include ""boost/math/special_functions/erf.hpp"" int main(){ std::cout << boost::math::erf(nan("""")) << ""\n""; std::cout << boost::math::erfc(nan("""")) << ""\n""; return 0; } }}} Output: {{{ 1 0 }}} " Bugs closed To Be Determined math Boost 1.65.0 Problem obsolete