Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshuavandaele/fractions


https://github.com/joshuavandaele/fractions

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

        

# Fractions

## Benchmarks

Benchmarks using the Nilakantha series to calculate π over 10 iterations.

```text
test tests::bench_calc_pi_bigfloat ... bench: 5,284.84 ns/iter (+/- 205.03)
test tests::bench_calc_pi_fractions ... bench: 489.61 ns/iter (+/- 24.67)
test tests::bench_calc_pi_rug ... bench: 773.91 ns/iter (+/- 8.25)
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.