You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOC: Mention nan results in power and float_power.
By design, `power` and `float_power` return `nan` when a
negative value is raised to a non-integral value. There have
been several issues raised about this over the last few years,
so let's explicitly mention this in the docstrings, and give an
example of explicitly specifying `dtype=complex` to get complex
results intead of `nan`.
Closesnumpygh-20186.
Closesnumpygh-12182.
Closesnumpygh-12118.
0 commit comments