Euler
BigInt
Our great sponsors
Euler | BigInt | |
---|---|---|
- | 4 | |
1,143 | 746 | |
- | 0.4% | |
3.7 | 2.3 | |
about 3 years ago | 6 months 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.
Euler
We haven't tracked posts mentioning Euler yet.
Tracking mentions began in Dec 2020.
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?
What are some alternatives?
iosMath - Beautiful math equation rendering on iOS and MacOS
Upsurge - Multi-dimensional Swift math
Surge - Surge has been moved to its own organization on GitHub (@Jounce)
swift-pons - Protocol-Oriented Number System in Pure Swift
Arithmosophi - A set of protocols for Arithmetic, Statistics and Logical operations
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.
Metron - Geometry, simplified.
SwiftMath
SigmaSwiftStatistics - A collection of functions for statistical calculation written in Swift.