pi_calculator 0.0.1
pi_calculator: ^0.0.1 copied to clipboard
A Dart package for high-precision calculation of Pi (π) using the Srinivasa Ramanujan series.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2025-07-21 #
Added #
- Initial release of the
pi_calculatorpackage. - Implemented
PiCalculatorclass for high-precision Pi calculation using the Srinivasa Ramanujan series. - Included
factorialhelper method for BigInt factorial calculations. - Included
bigIntPowhelper method for efficient BigInt exponentiation. - Added input validation for calculatePiRamanujan (numTerms, decimalPrecision).
- Implemented comprehensive unit tests for PiCalculator and its helper methods.