Skip to content
Snippets Groups Projects
Commit bdc6e86e authored by Damien George's avatar Damien George
Browse files

py/objfloat: Support raising a negative number to a fractional power.

This returns a complex number, following CPython behaviour.  For ports that
don't have complex numbers enabled this will raise a ValueError which gives
a fail-safe for scripts that were written assuming complex numbers exist.
parent 62849b70
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment