Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-10-31 07:18:53


Paolo Carlini <pcarlini_at_[hidden]> writes:

| Hi and sorry for reposting,
|
| I'm writing to report about some problems I'm seeing with this test, see
| also PR libstdc++/6718 in the Gcc data base. When compiled with gcc-3.2,
| at run time:
|
| paolo:~/Programming/c++/boost_1_29_0/libs/random> a.out
| Confidence level: 0.99; 1-alpha = 0.01; chi_square(19, 36.191) = 0.99
| Running tests on minstd_rand
| KS: 4750* [0] 9500* [0] equidistribution: a.out:
| statistic_tests.hpp:571: void generic_counter<RandomA
| ccessContainer>::operator()(int) [with RandomAccessContainer =
| std::vector<int, std::allocator<int> >]
| : Assertion `static_cast<unsigned int>(i) < container.size()' failed.
| Abort
|
| According to the analysis of Nathan Sidwell and Gabriel Dos Reis this is
| due to a missing workaround for the currently non conforming
| libstdc++-v3 <limits> headers.

The analysis concerns floating-point types. Not integer types (which
are fine). Or is there something in the above I'm missing?

-- Gaby


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