[Chapel Merge] Add missing comparison functions for imaginary numbers

Branch: refs/heads/main
Revision: e46826163d25013317696b25d1414f135e6c2956
Author: jabraham17
Link: Add missing comparison functions for imaginary numbers by jabraham17 · Pull Request #29083 · chapel-lang/chapel · GitHub
Log Message:
Add missing comparison functions for imaginary numbers (#29083)

Adds missing comparison numbers for imaginary numbers, both at runtime
and compile time

Also makes sure to implement min/max for imaginary numbers (at runtime
and compile time), as well as isFinite, isInf, and isNan

Built on Add missing complex ops at compile-time (`*` and `/`) by jabraham17 · Pull Request #29081 · chapel-lang/chapel · GitHub

Resolves Missing comparison and min/max on imag · Issue #29051 · chapel-lang/chapel · GitHub

  • paratest

[Reviewed by @benharsh]

Compare: Comparing af4ef6fccdfb2352a4d5482bc7ad2bda71c6cea7...dca6c34ba7b309f74b09f5eb68fbe6ced08337b4 · chapel-lang/chapel · GitHub

Diff:
M doc/rst/technotes/editions.rst
M modules/internal/ChapelBase.chpl
M modules/standard/AutoMath.chpl
A test/expressions/complexOrderedCompareErrors.chpl
A test/expressions/complexOrderedCompareErrors.compare.good
A test/expressions/complexOrderedCompareErrors.compareParam.good
A test/expressions/complexOrderedCompareErrors.compopts
A test/expressions/complexOrderedCompareErrors.maxParam.good
A test/expressions/complexOrderedCompareErrors.min.good
A test/expressions/imagOrderedCompare.chpl
A test/expressions/imagOrderedCompare.good
A test/library/standard/Math/imagInfinity.chpl
A test/library/standard/Math/imagInfinity.compopts
A test/library/standard/Math/imagInfinity.good
A test/library/standard/Math/imagInfinity.unstable.good
https://github.com/chapel-lang/chapel/pull/29083.diff