GitHub / mgriebling / DigitsOfPie
A Swift-based calculator for the digits of Pi (π), currently hardlimited to a maximum of 10,000 — although this can be easily changed in the storyboard slider limits. This demo uses a Machin-based Pi calculation, except that it uses the Integer package's infinite-sized integers to get as many digits as we want. It still computes the formula: pi = 4 * (4 * arccot(5) - arccot(239)). The user interface is very simple with a slider to control the number of pi digits. Calculations are performed in a background task so the slider motion is not affected during the calculations.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgriebling%2FDigitsOfPie
PURL: pkg:github/mgriebling/DigitsOfPie
Stars: 1
Forks: 0
Open issues: 0
License: None
Language: Swift
Size: 254 KB
Dependencies parsed at: Pending
Created at: over 3 years ago
Updated at: about 1 year ago
Pushed at: about 1 year ago
Last synced at: 3 months ago
Topics: digits, machin, pi, swift