BigInt
SwiftSimplify
BigInt | SwiftSimplify | |
---|---|---|
4 | - | |
746 | 295 | |
0.3% | - | |
2.3 | 0.0 | |
7 months ago | over 1 year 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?
SwiftSimplify
We haven't tracked posts mentioning SwiftSimplify yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Upsurge - Multi-dimensional Swift math
iosMath - Beautiful math equation rendering on iOS and MacOS
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)
Expression - A cross-platform Swift library for evaluating mathematical expressions at runtime
SigmaSwiftStatistics - A collection of functions for statistical calculation written in Swift.
Euler - Swift Custom Operators for Mathematical Notation
SwiftMath
VectorMath - A Swift library for Mac and iOS that implements common 2D and 3D vector and matrix functions, useful for games or vector-based graphics