Packages authored by mgriebling
These packages are available as a package collection, usable in Xcode or SwiftPM.
BigDecimal
Arbitrary-precision decimal arithmetic in Swift with full math functions and fixed-precision Decimal 32-, 64-, and 128-bit types.
BigInt
Arbitrary-precision integer arithmetic in Swift
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.
ExpressionParser
Swift expression parser and evaluator using a parser generated by Coco. Also produces a LaTeX translation of the text-based input expression.
SwiftMath
SwiftMath provides a full Swift implementation of iosMath for displaying beautifully rendered math equations in iOS and MacOS applications. It typesets formulae written using LaTeX math mode in a UILabel equivalent class.
UInt128
A 128-bit signed/unsigned integer implementation with optimized multiplication, division, and string conversions. This package supports the new StaticBigInt on macOS 13.3+ or iOS 16.4+.
6 packages.