Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Pi calculation algorithms for Pi Day #14

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aidnyu
Copy link
Contributor

@aidnyu aidnyu commented Mar 15, 2025

This PR introduces two Pi calculation implementations with doc tests:

  • Adding Chudnovsky algorithm implementation (chudnovsky_algorithm.mojo)
  • Adding Leibniz formula for Pi calculation (leibniz_pi_formula.mojo)

  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Comments in areas I changed are up to date
  • I have added comments to hard-to-understand areas of my code

@aidnyu aidnyu requested a review from SatinWukerORIG as a code owner March 15, 2025 06:52
@aidnyu
Copy link
Contributor Author

aidnyu commented Mar 15, 2025

Hi @SatinWukerORIG,

I've also submitted a separate PR to update the current Mojo version(#13). Since that PR includes important version updates that this work builds upon, it would be helpful if you could review and merge that one first.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant