On mips, 1**np.nan and np.nan**0 may be NaN not 1
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 29 Mar 2025 13:01:52 +0000 (13:01 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 29 Mar 2025 13:01:52 +0000 (13:01 +0000)
commitd925f675e70d8c68c867bb48afc39fc82fe32b10
treec32dfe5f149716a1f254a54eb3fa3ecdfb980d46
parentac09926bdfcf727e7babd8fb7877b054380b8b70
On mips, 1**np.nan and np.nan**0 may be NaN not 1

Done this way not a plain xfail to allow only this difference,
not clearly wrong answers

(The same hardware's "invalid value encountered" warnings,
probably from sNaN/qNaN being reversed, are ignored elsewhere:
d/rules and xfail_tests_nonintel_io.patch)

https://en.wikipedia.org/wiki/NaN#Encoding

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_pow_nan.patch
pandas/tests/arrays/floating/test_arithmetic.py
pandas/tests/arrays/sparse/test_arithmetics.py