This comes from a function named powers, which handles its zero-base corner cases deliberately. 0^negative -> 0 is the one zero-base corner it doesn't get "right" - but since it's unreachable with simplified expressions, probably not worth fixing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not a bug. Realpart (like most functions) requires a simplified argument.
This comes from a function named
powers, which handles its zero-base corner cases deliberately.0^negative -> 0is the one zero-base corner it doesn't get "right" - but since it's unreachable with simplified expressions, probably not worth fixing.