mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
This expands on the changes from test fix r16-6710-gda5a5c55284969: * test name now reflect the size of the generator range, * extracted code repeated between tests was exctracted to run_generator, * expanded non-power of two ranges types to cover all IEC559 floating point, * select values to test based on the size of mantisa instead of type, handling different long double representations. The test now cover the cases, where mutliple value greater than one are produced (and skipped) in the row. To avoid test running infinite loop, the number of skips per element is limited by max_skips_per_elem template parameter of run_generator. The values checked in test_2p31m1<double> differs from their old test03<double> counterpart, as we now request mantissa - 5 bits for each type (48bits for ieee64) instead of previously hardoced 30bits. libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon.cc: Updated tests. Reviewed-by: Nathan Myers <ncm@cantrip.org> Reviewed-by: Jonathan Wakely <jwakely@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.