bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) (GH-27796)

(cherry picked from commit 4b9a2dcf19e5d13c3bc2afea2de1f65cd994c699)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
3 files changed