Skip to content

Releases: RougeWare/Swift-MultiplicativeArithmetic

2.0 • Added `sqrt` and `pow`

25 Oct 00:42
c451999
Compare
Choose a tag to compare

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

17 Feb 23:12
38eee08
Compare
Choose a tag to compare

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

27 Oct 17:41
71e7201
Compare
Choose a tag to compare

Decimal now conforms to MultiplicativeArithmetic by default

1.1.0 - Made many stdlib types conform to `MutliplicativeArithmetic`

27 Oct 16:39
cd353e4
Compare
Choose a tag to compare

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

24 Oct 05:29
Compare
Choose a tag to compare

Just a couple protocols to say something can be multiplied