Absolucy / Absolucy/nanorand-rs
Add float support for generate_range()
Aperta
- Lingua principale
- Rust
- Stelle
- 251
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It would be cool to add float support to this function. So that we can generate random floats with custom ranges.
Example:
```Rust
let rng = nanorand::tls_rng();
let rand_num: f64 = rng.generate_range(-3.0..5.5);
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.