Re: [Boost-bugs] [Boost C++ Libraries] #9717: Boost math library on PPC64 has thousands of errors

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9717: Boost math library on PPC64 has thousands of errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-27 12:15:39


#9717: Boost math library on PPC64 has thousands of errors
--------------------------------------+-------------------------
  Reporter: Tony Reix <tony.reix@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: math
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------

Comment (by johnmaddock):

 Actually I see there's at least a partial patch for "double double"
 support in there already, it's in boost/math/tools/precision.hpp:

 {{{
 #if (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) &&
 ((LDBL_MANT_DIG == 106) || (__LDBL_MANT_DIG__ == 106))
 template <>
 inline long double epsilon<long double>(const mpl::true_&
 BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double))
 {
    // numeric_limits on Darwin tells lies here.
    // This static assert fails for some unknown reason, so
    // disabled for now...
    // BOOST_STATIC_ASSERT(std::numeric_limits<long double>::digits ==
 106);
    return 2.4651903288156618919116517665087e-32L;
 }
 #endif
 }}}

 So that preprocessor branch need to be enabled for your platform as well.
 Then it's a case of seeing what still breaks.

 Are you familiar with Git? If so the best thing would be for you to clone
 Boost.Math develop branch (https://github.com/boostorg/math/tree/develop)
 and submit pull requests.

 Cheers, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9717#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC