getting more random
Benjamin Kosnik
bkoz@redhat.com
Wed Apr 1 18:22:00 GMT 2009
Attached is the patch from December 2008's thread about random, against
today's tree. It seems like a good starting point modulo the unresolved
issues with respect to the <random> interface as is used in
20_util/shared_ptr/thread/*.cc. As trunk is now open for stage uno, this
seems like an opportune time to start putting this work in.
Ed? Paolo?
Here's my summary of outstanding issues.
Paolo:
- Wants time for algorithm analysis, getting feedback from TR1
implementation and use, literature review.
Benjamin:
- What interface targeted?
Ed:
- Wants to actually test the quality of the distributions (and the
engines), implementing histogram class.
- Error handling on bad parameters in distributions. Compile, run
time, or no errors?
Please feel free to correct any of this.
Since the time this was last discussed, the <random> interface
for C++0x was specified in N2836. This specification includes concepts.
My suggestion is to implement things like mersenne_twister_engine with
the template parameters as specified in N2836, even though concepts are
currently not supported. Any objections or alternate suggestions?
Are there any updates on this patch, specific algorithms, or the testing
and feedback issues?
best,
benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090401-1.patch.bz2
Type: application/x-bzip
Size: 45059 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090401/8b1525cf/attachment.bin>
More information about the Libstdc++
mailing list