#java #numbers #utils #gaussian #generator

java-rand

Implementation of java.util.Random

2 unstable releases

Uses old Rust 2015

0.2.0 Mar 2, 2019
0.1.0 May 25, 2018

#9 in #gaussian

Download history 10/week @ 2024-01-01 14/week @ 2024-01-08 7/week @ 2024-01-15 5/week @ 2024-01-29 5/week @ 2024-02-05 9/week @ 2024-02-12 24/week @ 2024-02-19 43/week @ 2024-02-26 23/week @ 2024-03-04 37/week @ 2024-03-11 28/week @ 2024-03-18 34/week @ 2024-03-25 79/week @ 2024-04-01 18/week @ 2024-04-08 24/week @ 2024-04-15

158 downloads per month
Used in 3 crates

MIT license

30KB
495 lines

java-rand

Pure Rust implementation of java.util.Random. Method names should be extremely similar to the Java implementation.

Note: gaussian random numbers are incorrect for now, as that would require StrictMath.


lib.rs:

Implementation of the Java Random Number generator.

No runtime deps