[v3] Start random dists values testing
Paolo Carlini
paolo.carlini@oracle.com
Fri Mar 18 12:01:00 GMT 2011
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.
////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_48114_tests
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110318/d5e0ddf5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_48114_tests
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110318/d5e0ddf5/attachment-0001.ksh>
More information about the Libstdc++
mailing list