Split of tr1 and std random facilities and completion of latter
Smith-Rowland, Edward M
ESmith-rowland@alionscience.com
Fri Dec 12 18:51:00 GMT 2008
Greetings,
This patch splits the tr1 and std random facilities. The two specifications for random were too different to keep a single implementation in tr1_impl.
In addition I went ahead and implemented the new std engines, utilities and distributions in addition to reimplementing the names and interfaces of the "common" parts of the two standards. The std random should be up to n2798 or so.
I have questions remaining about efficient implementation of discard for the random number engines. I would like a "10000" test for independent_bits and for seed_seq. I'd like to take another look at some of the log2 math in generate_canonical. But the system is quite usable now and these can be tweaked as necessary in the tree.
I had some real fights with svn diff. Which eventually won - probably by user error ;-). So here is a generic diff and a change log.
Have fun!
Ed Smith-Rowland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CL_random
Type: application/octet-stream
Size: 12738 bytes
Desc: CL_random
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20081212/54cd0795/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random.diff.bz2
Type: application/x-bzip2
Size: 45746 bytes
Desc: random.diff.bz2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20081212/54cd0795/attachment.bz2>
More information about the Libstdc++
mailing list