Daniel Scherzer
78ea9996cd
std random.rs: update link to RTEMS docs
...
The old URL with `master` resulted in a 404 error - use `main` instead.
2026-02-24 07:38:46 -08:00
Josh Triplett
5e203851f7
random: Provide a Distribution<T> trait
...
This will let people make calls like random(1..=6), and allows for
future expansion to non-uniform distributions, as well as
floating-point.
For now, this is only implemented for `RangeFull`, to get the interface
in place. Subsequent commits will implement it for other range types.
2025-07-11 10:21:34 -07:00
王宇逸
c3051b1f5a
Unify cygwin & horizon random impl
2025-03-10 21:23:32 +08:00
Henry Jiang
8ca39104f1
AIX use /dev/urandom for impl
2024-10-22 20:18:11 -04:00
Jan Sommer
e20636a786
Add entropy source for RTEMS
2024-10-18 10:26:59 +02:00
Ralf Jung
1fe049ad57
add link from random() helper fn to extensive DefaultRandomSource docs
2024-09-25 08:25:36 +02:00
joboet
e94dd9b712
random: add tracking issue, address other comments
2024-09-23 10:36:16 +02:00
joboet
b9d47cfa9b
std: switch to faster random sources on macOS and most BSDs
2024-09-23 10:36:16 +02:00
joboet
5c1c725724
std: implement the random feature
...
Implements the ACP https://github.com/rust-lang/libs-team/issues/393 .
2024-09-23 10:29:51 +02:00