Bug fixes
Pre-release
Pre-release
- 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.