summaryrefslogtreecommitdiffstats
path: root/Python/object_stack.c
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-08-04 08:53:17 (GMT)
committerGitHub <noreply@github.com>2024-08-04 08:53:17 (GMT)
commit3462a80d2cf37a63fe43f46f64a8c9823f84531d (patch)
treec6870dfefae1447a500abc164c4714f86ba17d79 /Python/object_stack.c
parent151934a324789c58cca9c7bbd6753d735454df5a (diff)
downloadcpython-3462a80d2cf37a63fe43f46f64a8c9823f84531d.zip
cpython-3462a80d2cf37a63fe43f46f64a8c9823f84531d.tar.gz
cpython-3462a80d2cf37a63fe43f46f64a8c9823f84531d.tar.bz2
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.
Diffstat (limited to 'Python/object_stack.c')
0 files changed, 0 insertions, 0 deletions