mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
add two conditions to raise ValueError for input values case 1: NaN, when both input values are finite, and base is negative and exponent is non-integer case 2: divde by zero, when base is 0 exponent is negative value