Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshuavandaele/fractions
https://github.com/joshuavandaele/fractions
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joshuavandaele/fractions
- Owner: JoshuaVandaele
- License: mit
- Created: 2024-08-01T01:18:54.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T17:27:37.000Z (about 2 months ago)
- Last Synced: 2024-11-12T18:21:29.628Z (about 2 months ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.