You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use rand::Rng;
fn main() {
let mut rand = rand::thread_rng();
println!("{}", rand.gen_range(f32::MIN..=f32::MAX));
}
thread 'main' panicked at .cargo/registry/src/index.crates.io-6f17d22bba15001f/rand-0.8.5/src/distributions/uniform.rs:998:1:
Uniform::new_inclusive: range overflow
rand version: 0.8.5
The text was updated successfully, but these errors were encountered:
Reproduction:
rand version: 0.8.5
The text was updated successfully, but these errors were encountered: