Skip to content

Releases: xwu/NumericAnnex

Bug fixes

28 Aug 00:10
@xwu xwu
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release

Added tie-breaking exponentiation operator implementations for concrete integer types in the standard library.

Exponentiation operators

27 Aug 20:40
@xwu xwu
Compare
Choose a tag to compare
Pre-release
  • Added the exponentiation operator ** and the compound assignment operator **=.
  • Deprecated BinaryInteger.pow(_:_:) and Math.pow(_:_:).

CocoaPods

19 Aug 22:16
@xwu xwu
Compare
Choose a tag to compare
CocoaPods Pre-release
Pre-release

Added a PodSpec file (and a .swift-version file) for CocoaPods support.

Bug fixes

19 Aug 22:18
@xwu xwu
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release

Worked around a compiler segmentation fault by assuming memory bound instead of binding memory.

Bug fixes and documentation improvements

19 Aug 20:33
@xwu xwu
Compare
Choose a tag to compare
  • Updated doc comments.
  • Updated generic algorithms for revised integer protocols.

Bug fixes

16 Jul 22:15
@xwu xwu
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release
  • Removed Complex.isCanonical and Complex.polar.
  • Fixed implementation of Complex.isNaN and Complex.isSignalingNaN to align with C/C++ standards: a complex value is NaN if at least one of its components is NaN and the other is not infinite.
  • Fixed implementation of Complex multiplication and division to align handling of special values with C/C++ standards.
  • Fixed implementation of Complex.tanh(_:) to align handling of special values with C/C++ standards.
  • Refined implementation of Complex.description for values with a negative imaginary component.
  • Fixed implementation of Rational initializers that convert from a BinaryFloatingPoint value.

Bug fixes

04 Jul 18:20
@xwu xwu
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release

Fixed implementation of Rational.isProper.

Integer square root and cube root

14 Jun 18:39
@xwu xwu
Compare
Choose a tag to compare
Pre-release
  • Added integer square root and cube root functions.
  • Removed power(of:) requirement from Math, substituting pow(_:_:) (formerly an extension method).

Bug fixes

13 Jun 01:21
@xwu xwu
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release
  • Expanded tests.
  • Fixed implementation of certain default implementations for protocol requirements of Math and Real.

Codable

12 Jun 02:33
@xwu xwu
Compare
Choose a tag to compare
Codable Pre-release
Pre-release

Conformed Complex and Rational to Codable.