Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2008-06-17 04:48:42


On Apr 29, 2008, at 5:37 PM, Neal Becker wrote:

> I believe in uniform_real, assertion should be changed to
> assert (min_arg <= max_arg)
>
> What about uniform_smallint? Does min_arg == max_arg make sense?

For uniform integers min_arg == max_arg actually makes sense in
contrast to uniform real, since here the convention is to include the
upper limit

Matthias


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