BigInt
VectorMath
BigInt | VectorMath | |
---|---|---|
4 | - | |
747 | 365 | |
0.4% | - | |
2.3 | 0.0 | |
7 months ago | over 4 years ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BigInt
-
-π- 2022 Day 11 Solutions -π-
For part 2, I immediately had the suspicion that using BigInts wasn't going to cut it, and that was quickly confirmed by the CPU usage. I then wasted time with lcm before noticing that all divisors are primes and thus a simple reduce(1, *) was sufficient.
-
BigInt initialize with bytes
Also FYI there is this package if you donβt want to use a beta implementation. Hope that a BigInt type gets added to the standard lib tho, I ran into this problem just this week!
- How to store 18446744073709551616 in an UInt?
VectorMath
We haven't tracked posts mentioning VectorMath yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Upsurge - Multi-dimensional Swift math
Swift-MathEagle - A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int, big frac, big rational, graphs and general handy extensions and functions.
swift-pons - Protocol-Oriented Number System in Pure Swift
Arithmosophi - A set of protocols for Arithmetic, Statistics and Logical operations
Surge - Surge has been moved to its own organization on GitHub (@Jounce)
SigmaSwiftStatistics - A collection of functions for statistical calculation written in Swift.
EasyRoot - Swift framework to simplify radicals.
SwiftMath
Expression - A cross-platform Swift library for evaluating mathematical expressions at runtime