diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-08-25 16:02:23 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-08-25 16:02:23 +0000 |
commit | 7849b3de894a9e76cff084f4cd58c28c722b8713 (patch) | |
tree | 2706929ee99b7642eb8d567ba87f98f03c731103 /gcc/c-decl.c | |
parent | 4eb585a4731413faa3ed0f224674ff31c7ab7a76 (diff) | |
download | gcc-7849b3de894a9e76cff084f4cd58c28c722b8713.zip gcc-7849b3de894a9e76cff084f4cd58c28c722b8713.tar.gz gcc-7849b3de894a9e76cff084f4cd58c28c722b8713.tar.bz2 |
random (bernoulli_distribution::operator()): Fix wrt generators returning integers.
2006-08-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/random (bernoulli_distribution::operator()): Fix
wrt generators returning integers.
(uniform_int<>::_M_call): Add.
(uniform_int<>::operator()): Use it.
* include/tr1/random (_Adaptor<>::min, _Adaptor<>::max): Add.
(_Adaptor<>::operator()): Allow for nonzero _M_g.min().
* include/tr1/random.tcc (linear_congruential<>::min, max):
Move inline...
(__mod): Move ...
* include/tr1/random: ... here.
(struct _Mod): Declare.
* include/tr1/random (struct _To_Unsigned_Type): Only declare,
move...
* include/tr1/random.tcc: ... here.
From-SVN: r116402
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions