Releases: RougeWare/Swift-MultiplicativeArithmetic
Releases · RougeWare/Swift-MultiplicativeArithmetic
2.0 • Added `sqrt` and `pow`
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!
1.3.0 - iOS Support
Added iOS support by conditionally compiling Float80
only for non-Windows x86 systems, and by importing CoreGraphics
. Yay easy support changes!
1.2.0 - Added `Decimal` to the default conformances
Decimal
now conforms to MultiplicativeArithmetic
by default
1.1.0 - Made many stdlib types conform to `MutliplicativeArithmetic`
The following types now conform to MultiplicativeArithmetic
:
-
CGFloat
-
Float32
-
Float64
-
Float80
-
Int
-
Int8
-
Int16
-
Int32
-
Int64
-
UInt
-
UInt8
-
UInt16
-
UInt32
-
UInt64
1.0.0 - MVP
Just a couple protocols to say something can be multiplied