|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66070 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2010-10-18 07:19:08
Author: johnmaddock
Date: 2010-10-18 07:19:06 EDT (Mon, 18 Oct 2010)
New Revision: 66070
URL: http://svn.boost.org/trac/boost/changeset/66070
Log:
Tentative fix for WinCE failures.
Text files modified:
trunk/boost/math/special_functions/log1p.hpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/special_functions/log1p.hpp
==============================================================================
--- trunk/boost/math/special_functions/log1p.hpp (original)
+++ trunk/boost/math/special_functions/log1p.hpp 2010-10-18 07:19:06 EDT (Mon, 18 Oct 2010)
@@ -390,6 +390,11 @@
{
return static_cast<float>(boost::math::log1p(static_cast<double>(x), pol));
}
+#ifndef _WIN32_WCE
+//
+// For some reason this fails to compile under WinCE...
+// Needs more investigation.
+//
template <class Policy>
inline long double log1p(long double x, const Policy& pol)
{
@@ -406,6 +411,7 @@
return ::logl(u)*(x/(u-1.0));
}
#endif
+#endif
template <class T>
inline typename tools::promote_args<T>::type log1p(T x)
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