r115439 - in /trunk/libstdc++-v3: ChangeLog inc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Fri Jul 14 12:55:00 GMT 2006


Author: paolo
Date: Fri Jul 14 12:55:15 2006
New Revision: 115439

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115439
Log:
2006-07-14  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random.tcc (struct _To_Unsigned_Type): Add.
	(subtract_with_carry<>::seed(_Gen&, false_type)): Use an
	unsigned type in the loop, fix factor multiplier, take g
	invocations modulo 2^32.

	* include/tr1/random.tcc (subtract_with_carry<>::
	seed(unsigned long)): Fix value == 0 special case.

	* include/tr1/random (struct _Shift): Fix for large shifts.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1/random
    trunk/libstdc++-v3/include/tr1/random.tcc



More information about the Libstdc++-cvs mailing list