mgriebling's repositories
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.
BigInt-Attaswift
Arbitrary-precision arithmetic in pure Swift
MakeMathML
MakeMathML creates a MathML output of the text file passed to this command line program as the first argument.
BigDecimal
Arbitrary-precision decimal arithmetic in Swift with full math functions and fixed-precision Decimal 32-, 64-, and 128-bit types.
Grid
The most powerful Grid container missed in SwiftUI
swift-numerics
Advanced mathematical types and functions for Swift
SwiftMathDemo
SwiftMathDemo demonstrates the use of SwiftMath using SwiftUI. The same code runs on Macs, iPhones, and iPads. Code is entirely written in Swift. The MathView.swift file provides a SwiftMath interface to SwiftUI.
Doubles
A quad-double number (QDouble) is an unevaluated sum of four IEEE double precision numbers, capable of representing at least 212 bits of significand. Algorithms for various arithmetic operations (including the four basic operations and various algebraic and transcendental operations) are presented. A Swift implementation of these algorithms is attached, along with its interfaces.
Expression
A cross-platform Swift library for evaluating mathematical expressions at runtime
ButtonStyle
Some examples of styling buttons
Numberick
Large number arithmagick in Swift
DecimalNumbers
A Swift implementation based on the Intel Corp Decimal Floating-Point Math Library v2.2. This library uses Binary Integer Decimal (BID) encoded numbers in its implementation. Conversions to/from Densely Packed Decimal (DPD) encoded numbers are provided.
AwesomeNumbersKit
Large number arithmetic in Swift
UInt128-Jitsusama
A Swift 128-bit Unsigned Integer Data Type conforming to the UnsignedInteger Protocol
Magic-Number-Machine
Machine Number Machine is a graphically displayed, high-precision, scientific calculator featuring 25 digits of precision, complex numbers, WYSIWYG graphical equations, and much more.
Violet
Python VM written in Swift
gmpcalculator
high precision iOS calculator