Swiftpack.co - RougeWare/Swift-MultiplicativeArithmetic as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by RougeWare.
RougeWare/Swift-MultiplicativeArithmetic 2.0.1
Formalizes an object's ability to be multiplied by something
⭐️ 1
🕓 20 weeks ago
.package(url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "2.0.1")

CodeFactor

MultiplicativeArithmetic

Swift's standard library includes AdditiveArithmetic, but not MultiplicativeArithmetic. So I made one!

GitHub

link
Stars: 1
Last commit: 20 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2.0 • Added `sqrt` and `pow`
26 weeks ago

sqrt and pow are like fancy multiplying right? Right.

So now they're here! Turns out the standard libraries tend to include these already so We just had to thinly wrap them. Except Decimal; that had some ancient ObjC weirdness. Woo!

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics