Advanced numeric data types for Swift 5, including BigInt, Rational, and Complex numbers.
StaticBigInt
only when available.StaticBigInt
. This requires at least macOS 13.3.Codable
implementation of BigInt
compatible to JSON use casesInteger
wrapping BigInt
and the native Int64
implementationComplex
typeBigInt
numberRational
constructor for approximating a Double
number as a Rational