gh-121889: cmath.acosh(0+nanj) returns nan+pi/2j (#121892)
As per C11 DR#471 (adjusted resolution accepted for C17), cacosh (0 + iNaN) should return NaN ± i pi/2, not NaN + iNaN. This patch fixes cmath's code to do same.
S
Sergey B Kirpichev committed
3462a80d2cf37a63fe43f46f64a8c9823f84531d
Parent: 151934a
Committed by GitHub <noreply@github.com>
on 8/4/2024, 8:53:17 AM