Home
last modified time | relevance | path

Searched refs:DENOM (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/rand/src/distributions/
Dbernoulli.rs176 const DENOM: u32 = 10; in test_average() constant
178 let d2 = Bernoulli::from_ratio(NUM, DENOM).unwrap(); in test_average()
196 assert!((avg2 - (NUM as f64) / (DENOM as f64)).abs() < 5e-3); in test_average()
/external/llvm-project/compiler-rt/lib/builtins/hexagon/
Ddfdiv.S93 #define DENOM r3:2 macro
98 PROD = extractu(DENOM,#SF_MANTBITS,#DF_MANTBITS-SF_MANTBITS)
181 TMPPAIR = sub(REM,DENOM)
182 P_TMP = cmp.gtu(DENOM,REM)
204 #undef DENOM
/external/rust/crates/rand/src/
Drng.rs571 const DENOM: u32 = 10; in test_gen_ratio_average() constant
577 if rng.gen_ratio(NUM, DENOM) { in test_gen_ratio_average()
582 let expected = (NUM * N) / DENOM; // exact integer in test_gen_ratio_average()