This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]