Module rand::distributions::float
source · Expand description
Basic floating-point number distributions
Macros§
Structs§
- A distribution to sample floating point numbers uniformly in the open interval
(0, 1)
, i.e. not including either endpoint. - A distribution to sample floating point numbers uniformly in the half-open interval
(0, 1]
, i.e. including 1 but not 0.