Home
last modified time | relevance | path

Searched refs:into_float_with_exponent (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rand/src/distributions/
Dfloat.rs89 fn into_float_with_exponent(self, exponent: i32) -> Self::F; in into_float_with_exponent() method
98 fn into_float_with_exponent(self, exponent: i32) -> $ty {
147 fraction.into_float_with_exponent(0) - (1.0 - EPSILON / 2.0)
Duniform.rs836 (::core::$u_scalar::MAX >> $bits_to_discard).into_float_with_exponent(0) - 1.0,
870 (::core::$u_scalar::MAX >> $bits_to_discard).into_float_with_exponent(0) - 1.0,
890 let value1_2 = (rng.gen::<$uty>() >> $bits_to_discard).into_float_with_exponent(0);
921 (rng.gen::<$uty>() >> $bits_to_discard).into_float_with_exponent(0);