This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] Start random dists values testing
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 18 Mar 2011 13:01:05 +0100
- Subject: [v3] Start random dists values testing
Hi,
the below is a start on the long overdue task of checking the values
produces by the random distributions. For the time being I'm simply
adapting rather elementary code in GSL, already good enough to enable
regression tests for libstdc++/48114.
I expect that testing along similar lines the other discrete
distributions will be pretty straightforward; for the continuous ones
we'll need an integration routine (I hope something simpler than
gsl_integration_qags will be enough).
Tested x86_64-linux, committed to mainline.
Paolo.
////////////////////
Attachment:
CL_48114_tests
Description: Text document
Attachment:
patch_48114_tests
Description: Text document