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]

Split of tr1 and std random facilities and completion of latter


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

Attachment: CL_random
Description: CL_random

Attachment: random.diff.bz2
Description: random.diff.bz2


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