Closed pitdicker closed 6 years ago
I don't see much point moving FP stuff into rand-core; it's only really aimed at cryptographic users and RNG implementations (and we already decided to remove next_f32
/ next_f64
from Rng
). Any disagreement or shall I close this?
Ok, restricting rand-core
to only the minimum needed for RNG implementations seems like a good idea.
It seems to me conversions to floats are fundamental enough to be part of
rand_core
. While you probably want some sort of distribution or range when using floats, these conversion functions are building blocks to provide a distribution or range.