Ticket #6171: acosh.patch
File acosh.patch, 682 bytes (added by , 11 years ago) |
---|
-
acosh.hpp
diff -wu boost-trunk/boost/math/complex/acosh.hpp boost-rbk/boost/math/complex//acosh.hpp
old new 24 24 // as well as compatibility with C99. 25 25 // 26 26 std::complex<T> result = boost::math::acos(z); 27 if(!(boost::math::isnan)( result.imag()) && signbit(result.imag()))27 if(!(boost::math::isnan)(z.imag()) && !signbit(z.imag())) 28 28 return detail::mult_i(result); 29 29 return detail::mult_minus_i(result); 30 30 }