Skip to content

Bug fixes

Pre-release
Pre-release
Compare
Choose a tag to compare
@xwu xwu released this 16 Jul 22:15
· 50 commits to master since this 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.