Damien George 8d5a40c86e py/objfloat: Fix handling of negative float to power of nan.
Prior to this commit, pow(-2, float('nan')) would return (nan+nanj), or
raise an exception on targets that don't support complex numbers.  This is
fixed to return simply nan, as CPython does.

Signed-off-by: Damien George <damien@micropython.org>
2020-09-11 10:03:57 +10:00
..
2020-09-02 12:01:26 +10:00
2020-02-28 10:31:07 +11:00
2020-04-18 22:42:24 +10:00
2019-11-21 12:04:53 +11:00