mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 07:02:08 +00:00
Tentative fix for WinCE failures.
[SVN r66070]
This commit is contained in:
@@ -390,6 +390,11 @@ inline float log1p(float x, const Policy& pol)
|
||||
{
|
||||
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 @@ inline long double log1p(long double x, const Policy& pol)
|
||||
return ::logl(u)*(x/(u-1.0));
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
inline typename tools::promote_args<T>::type log1p(T x)
|
||||
|
||||
Reference in New Issue
Block a user