From: Mario Ruetti (mruetti_at_[hidden])
Date: 2003-12-22 02:13:20
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. Now I get an floatingpoint exception, while
dividing by zero. _factor gets 0. The problem is the type
of _factor, its an integer. I think it should be of type
base_result, which is defined there.
I hope this helps
-- +++ 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