|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-12-15 13:29:30
Author: johnmaddock
Date: 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
New Revision: 42078
URL: http://svn.boost.org/trac/boost/changeset/42078
Log:
Disable long double tests if there's no long double support.
Text files modified:
trunk/libs/math/test/compile_test/compl_abs_incl_test.cpp | 2 ++
trunk/libs/math/test/compile_test/compl_acos_incl_test.cpp | 2 ++
trunk/libs/math/test/compile_test/compl_acosh_incl_test.cpp | 2 ++
trunk/libs/math/test/compile_test/compl_asin_incl_test.cpp | 3 +++
trunk/libs/math/test/compile_test/compl_asinh_incl_test.cpp | 2 ++
trunk/libs/math/test/compile_test/compl_atan_incl_test.cpp | 2 ++
trunk/libs/math/test/compile_test/compl_atanh_incl_test.cpp | 2 ++
7 files changed, 15 insertions(+), 0 deletions(-)
Modified: trunk/libs/math/test/compile_test/compl_abs_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_abs_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_abs_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<float >(boost::math::fabs(std::complex<float>()));
check_result<double >(boost::math::fabs(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<long double>(boost::math::fabs(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_acos_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_acos_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_acos_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<std::complex<float> >(boost::math::acos(std::complex<float>()));
check_result<std::complex<double> >(boost::math::acos(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<std::complex<long double> >(boost::math::acos(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_acosh_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_acosh_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_acosh_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<std::complex<float> >(boost::math::acosh(std::complex<float>()));
check_result<std::complex<double> >(boost::math::acosh(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<std::complex<long double> >(boost::math::acosh(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_asin_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_asin_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_asin_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,6 +20,9 @@
{
check_result<std::complex<float> >(boost::math::asin(std::complex<float>()));
check_result<std::complex<double> >(boost::math::asin(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ check_result<std::complex<long double> >(boost::math::asin(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_asinh_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_asinh_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_asinh_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<std::complex<float> >(boost::math::asinh(std::complex<float>()));
check_result<std::complex<double> >(boost::math::asinh(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<std::complex<long double> >(boost::math::asinh(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_atan_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_atan_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_atan_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<std::complex<float> >(boost::math::atan(std::complex<float>()));
check_result<std::complex<double> >(boost::math::atan(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<std::complex<long double> >(boost::math::atan(std::complex<long double>()));
+#endif
}
Modified: trunk/libs/math/test/compile_test/compl_atanh_incl_test.cpp
==============================================================================
--- trunk/libs/math/test/compile_test/compl_atanh_incl_test.cpp (original)
+++ trunk/libs/math/test/compile_test/compl_atanh_incl_test.cpp 2007-12-15 13:29:29 EST (Sat, 15 Dec 2007)
@@ -20,7 +20,9 @@
{
check_result<std::complex<float> >(boost::math::atanh(std::complex<float>()));
check_result<std::complex<double> >(boost::math::atanh(std::complex<double>()));
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
check_result<std::complex<long double> >(boost::math::atanh(std::complex<long double>()));
+#endif
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk