I just noticed a paper recently, which reports that the implementation of drawing uniform floating point numbers in rand has some imperfections. Specifically, according to the paper rng.gen_range(-f64::MAX..=f64::MAX) will only generate negative floating point numbers.
After a quick search over the issues I didn't find any issued raised with regard to this paper. I just want to post it in case it's not mentioned here.
I just noticed a paper recently, which reports that the implementation of drawing uniform floating point numbers in
randhas some imperfections. Specifically, according to the paperrng.gen_range(-f64::MAX..=f64::MAX)will only generate negative floating point numbers.After a quick search over the issues I didn't find any issued raised with regard to this paper. I just want to post it in case it's not mentioned here.