Skip to main content

unif_rand

Function unif_rand 

Source
pub unsafe fn unif_rand() -> f64
Expand description

Generate a uniform random number in (0, 1).

ยงImportant

Must call GetRNGstate() before and PutRNGstate() after. Checked wrapper for unif_rand. Calls unif_rand_unchecked and routes through with_r_thread. Generated from source location line 3248, column 12. Generated from source file miniextendr-api/src/ffi.rs.