2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Treat x == 0 as special case (some platforms find NaN not 0)

[SVN r65191]
This commit is contained in:
Paul A. Bristow
2010-09-02 11:30:49 +00:00
parent 6f66180932
commit 17dd598600

View File

@@ -8,7 +8,6 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifdef _MSC_VER
# pragma warning (disable : 4224) // nonstandard extension used : formal parameter 'type' was previously defined as a type
// in Boost.test and lexical_cast
@@ -23,14 +22,14 @@ using ::boost::math::concepts::real_concept;
#include <boost/test/floating_point_comparison.hpp> // for BOOST_CHECK_CLOSE_FRACTION
#include <boost/math/distributions/inverse_gamma.hpp> // for inverse_gamma_distribution
#include <boost/math/special_functions/gamma.hpp> // for tgamma for naive pdf.
using boost::math::inverse_gamma_distribution;
using ::boost::math::inverse_gamma;
// using ::boost::math::cdf;
// using ::boost::math::pdf;
#include <boost/math/special_functions/gamma.hpp>
using boost::math::tgamma; // for naive pdf.
#include <iostream>
using std::cout;
using std::endl;