chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.75k stars 410 forks source link

Change return types of trigonometric and hyperbolic imaginary Math functions #24938

Closed jabraham17 closed 1 week ago

jabraham17 commented 2 weeks ago

This PR changes some of the imaginary overloads of trigonometric and hyperbolic functions in the Math module.

This PR deprecates the previously unstable overloads with a config const named useNewImaginaryTrig to switch to the new behavior.

Functions changed in the PR

Implements some of the changes outlined in #24506

Testing

Reviewed post-merge by @jeremiah-corrado