Releases: xwu/NumericAnnex
Releases · xwu/NumericAnnex
Bug fixes
Exponentiation operators
- Added the exponentiation operator
**
and the compound assignment operator**=
. - Deprecated
BinaryInteger.pow(_:_:)
andMath.pow(_:_:)
.
CocoaPods
Bug fixes
Bug fixes and documentation improvements
- Updated doc comments.
- Updated generic algorithms for revised integer protocols.
Bug fixes
- Removed
Complex.isCanonical
andComplex.polar
. - Fixed implementation of
Complex.isNaN
andComplex.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 aBinaryFloatingPoint
value.
Bug fixes
Integer square root and cube root
- Added integer square root and cube root functions.
- Removed
power(of:)
requirement fromMath
, substitutingpow(_:_:)
(formerly an extension method).