Boost logo

Boost :

Subject: [boost] [math] Help needed porting to AMD64/Linux platforms
From: John Maddock (john_at_[hidden])
Date: 2009-04-08 07:20:18


Folks,

I'm still having trouble with some failures that appear to be specific to
Linux on AMD64, if anyone with access to such a platform can help me out I'd
be most grateful.

You can test whether your machine exhibits the issue by:

cd into libs/math/test and
bjam gcc test_hypergeometric_dist1

If that fails, then I'm looking for the output from the following program to
try and track down the cause of the error (caution this will be quite
voluminous!):

#define BOOST_MATH_INSTRUMENT
#include "boost/math/distributions.hpp"

int main()
{
   double x = 30520, r = 130605, n = 130605, N = 523360, p =
1.315394088731268169855067478460234e-53, q = 1;

   boost::math::hypergeometric_distribution<> hyp(r, n, N);
   unsigned x_found = quantile(hyp, p);
   BOOST_MATH_INSTRUMENT_VARIABLE(x_found);

   return 0;
}

Perplexed yours, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk