mirror of
https://github.com/python/cpython.git
synced 2026-05-17 18:08:50 -04:00
4a42cebf6d
Change the behaviour of `math.pow(0.0, -math.inf)` and `math.pow(-0.0, -math.inf)` to return positive infinity instead of raising `ValueError`. This makes `math.pow` consistent with the built-in `pow` (and the `**` operator) for this particular special case, and brings the `math.pow` special-case handling into compliance with IEEE 754.
Source files for standard library extension modules, and former extension modules that are now builtin modules.