Boost logo

Boost :

From: Mario Ruetti (mruetti_at_[hidden])
Date: 2003-12-27 10:19:44


I must be a little bit confused. The problem occures using
uniform_smallint, there is a _factor in it.

Greetings
               Mario Rütti

> > I think there is a problem in the uniform_int method which
> > generates integer random numbers in a specific range.
> > My generator returns big numbers in order of 2^52 to
> > the uniform_int method. uniform_int calculates a factor
> > (_factor) to rescale the generator numbers to the
> > specified range.
>
> What version of boost uniform_int are you using?
> I've switched boost's random number interface (in the CVS)
> to the one proposed in my ISO C++ proposals, and the current
> uniform_int.hpp does not have a variable _factor in it.
>
> Jens Maurer

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk