Releases: objecthub/swift-numberkit
Releases · objecthub/swift-numberkit
Maintenance release 2.2.1
- Support Linux
Stable release 2.2.0
- Migrated library to Xcode 9.3
- Ported code to Swift 4.1
Stable release 2.1.0
- Comprehensive support for bit operations on
BigInt
numbers - Several bug fixes for existing bit operations
Maintenance release 2.0.5
- 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
- Adapt to Swift 4.0.2
- Optimize performance of
BigInt
Bugfix release 2.0.3
Adopt SPM API Version 4.
Maintenance release 2.0.2
Bug fix to support the Swift Package Manager for Swift 4.
Maintenance release 2.0.1
- 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
- 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
intoFloatingPointNumber
.
Maintenance release 1.6.2
– Fix Rational.toPower(of:)
to support negative exponents
– Rename BigInt.dividedBy
and BigInt.toPowerOf
to make the signatures consistent with the other numerical types