diff --git a/include/boost/math/special_functions/log1p.hpp b/include/boost/math/special_functions/log1p.hpp index 57a669958..494579183 100644 --- a/include/boost/math/special_functions/log1p.hpp +++ b/include/boost/math/special_functions/log1p.hpp @@ -390,6 +390,11 @@ inline float log1p(float x, const Policy& pol) { return static_cast(boost::math::log1p(static_cast(x), pol)); } +#ifndef _WIN32_WCE +// +// For some reason this fails to compile under WinCE... +// Needs more investigation. +// template inline long double log1p(long double x, const Policy& pol) { @@ -406,6 +411,7 @@ inline long double log1p(long double x, const Policy& pol) return ::logl(u)*(x/(u-1.0)); } #endif +#endif template inline typename tools::promote_args::type log1p(T x)