This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r115439 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Fri, 14 Jul 2006 12:55:16 -0000
- Subject: r115439 - in /trunk/libstdc++-v3: ChangeLog inc...
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