5 Commits

Author SHA1 Message Date
Noah
15984fca6f Remove leftover comment 2020-11-14 22:06:29 -06:00
carbotaniuman
ace2cb8f2f Fix edge cases in mod and complex division 2020-11-11 14:33:07 -06:00
Minho Heo
6032b54666 Fix negative ** fraction to returns complex value
Fix #1986 which (-2) ** 0.5 yields NaN.

Result:

RustPython gives
`float.__rpow__(0.5, -2)
(0.00000000000000008659560562354934+1.4142135623730951j)`

CPython 3.85 gives
`>>> float.__rpow__(0.5, -2)
(8.659560562354934e-17+1.4142135623730951j)`
2020-07-30 02:27:38 +09:00
Ben Lewis
1e0152d309 Mark failing test_fractions.py tests as expected failures. 2020-07-14 20:25:01 +12:00
Ben Lewis
5dc2ebc556 Add fractions.py and test_fractions.py from CPython 3.8.3. 2020-07-14 19:05:21 +12:00