Skip to content

Releases: objecthub/swift-numberkit

Maintenance release 2.2.1

03 Jun 14:46
Compare
Choose a tag to compare

Stable release 2.2.0

30 Mar 17:56
Compare
Choose a tag to compare
  • Migrated library to Xcode 9.3
  • Ported code to Swift 4.1

Stable release 2.1.0

24 Jan 08:30
Compare
Choose a tag to compare
  • Comprehensive support for bit operations on BigInt numbers
  • Several bug fixes for existing bit operations

Maintenance release 2.0.5

17 Jan 09:29
Compare
Choose a tag to compare
  • Fixes serious bug in division and remainder logic for BigInt numbers
  • Support for bit counting (incl. counting leading and trailing zero bits)

Maintenance release 2.0.4

16 Nov 22:09
Compare
Choose a tag to compare
  • Adapt to Swift 4.0.2
  • Optimize performance of BigInt

Bugfix release 2.0.3

15 Oct 22:56
Compare
Choose a tag to compare

Adopt SPM API Version 4.

Maintenance release 2.0.2

12 Oct 22:43
Compare
Choose a tag to compare

Bug fix to support the Swift Package Manager for Swift 4.

Maintenance release 2.0.1

26 Sep 00:47
Compare
Choose a tag to compare
  • Fixes numerous bugs in bit shifting logic
  • Makes BigInt a fully integrated SignedInteger in Swift 4
  • Re-introduces operations with overflow for Rational (which got lost in the Swift 4 migration)

First release for Swift 4

25 Sep 02:10
Compare
Choose a tag to compare
  • Ported NumberKit to Swift 4. Since Swift 4 has backward incompatible numeric APIs, this is a major change that might break existing client usage.
  • Added support for toPower(of:) for all integer types.
  • Added new operators to BigInt: <<, >>, <<=, >>=, %, %=.
  • Introduced new integer protocol: IntegerNumber.
  • Renamed protocol FloatNumber into FloatingPointNumber.

Maintenance release 1.6.2

16 Sep 22:41
Compare
Choose a tag to compare

– Fix Rational.toPower(of:) to support negative exponents
– Rename BigInt.dividedBy and BigInt.toPowerOf to make the signatures consistent with the other numerical types