mirror of
https://github.com/apple/swift-numerics
synced 2026-11-25 04:47:53 +00:00
- Respell as isApproximatelyEqual(to:), by analogy to isEqual(to:), isLess(than:), etc. - Refactor to eliminate the need for the Tolerance<Magnitude> type. Now all we have is one overloaded function with three implementations. This could be futher trimmed down to two versions by taking an optional parameter instead, but that seems a little bit less clean. I want to write some more documentation and examples here, but this is enough to discuss and start review.