[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 4 08:47:24 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |powerpc at FreeBSD.org

--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
Can someone on powerpc (preferably, 32bit) check the following sample?

$ cat a.cc
// from https://github.com/lballabio/QuantLib/pull/597#issuecomment-466716805
#include <iostream>
#include <boost/math/distributions/non_central_chi_squared.hpp>

using namespace boost::math;

int main() {
    const double q = 0.3142;

    std::cout << std::setprecision(16) 
        << quantile(
            non_central_chi_squared_distribution<double>(3.0,1.0),q) 
        << std::endl;
}

$ pkg install boost-libs
$ c++ a.cc -isystem/usr/local/include
$ ./a.out
2.034589723572673

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list