3 ms·
This is a pretty neat way to estimate pi. Rust uses this example in its std::rand documentation: http://doc.rust-lang.org/std/rand/#monte-carlo-estimation-of-π
by anonova 12y ago
This is a pretty neat way to estimate pi. Rust uses this example in its std::rand documentation: http://doc.rust-lang.org/std/rand/#monte-carlo-estimation-of-π http://doc.rust-lang.org/std/rand/#monte-carlo-estimation-of...