about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-11-18 22:27:48 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-11-18 23:12:01 +1100
commite6fb622af103a0d642a9b54c78c9183aec5c0d8b (patch)
tree80e19b50b451ec22042a5e742de694468557534f /src/rustllvm/RustWrapper.cpp
parent4dded4345fc148edea0e4b8354728c728784883f (diff)
downloadrust-e6fb622af103a0d642a9b54c78c9183aec5c0d8b.tar.gz
rust-e6fb622af103a0d642a9b54c78c9183aec5c0d8b.zip
std::rand: wrappers for floats from [0,1] and (0,1).
Provide `Closed01` and `Open01` that generate directly from the
closed/open intervals from 0 to 1, in contrast to the plain impls for
f32 and f64 which generate the half-open [0,1).

Fixes #7755.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions