Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 447 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 447 Bytes

Multi-threaded Monte-Carlo estimation of π

This code extends the Monte Carlo estimation of π example from the rand module documentation. It spawns multiple threads to run trials, then combines the results. This work was performed as a learning exercise, so the code may not be ideal or idiomatic. Improvements are welcome.