built-in pow() vs. math.pow()

2QdxY4RzWzUUiLuE at potatochowder.com 2QdxY4RzWzUUiLuE at potatochowder.com
Mon Apr 3 15:49:45 EDT 2023


On 2023-04-01 at 08:16:46 -0700,
Andreas Eisele <andreas.eisele at gmail.com> wrote:

> BTW, there is another difference: built-in pow() deals with complex
> arguments, while functions in math won't accept them at all.

See also <https://docs.python.org/3/library/cmath.html>.


More information about the Python-list mailing list