mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
This updates test01, so it properly handle 128bit floating points, including situation when long double uses such representation. Firstly, the computation of skips is corrected, by discarding number values equal to number of calls required to generate element (skips become zero for all non-float correctly). Furthermore, checks of histogram for types using iec559 representation, is moved inside test01 function, so we use correct value for long double, depending on number of digits in mantissa on given platform. We also extend test to cover __float128, to test 128bit floating point on more platforms. libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon.cc: Updated test. Reviewed-by: Jonathan Wakely <jwakely@redhat.com> Signed-off-by: Tomasz Kamiński <tkaminsk@redhat.com>
file: libstdc++-v3/README New users may wish to point their web browsers to the file index.html in the 'doc/html' subdirectory. It contains brief building instructions and notes on how to configure the library in interesting ways.