Skip to main content

exp_rand

Function exp_rand 

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

Generate an exponential random number with rate 1.

ยงImportant

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