ID EN
Math

inf

Python 3.11

A floating-point positive infinity. (For negative infinity, use -math.inf.) Equivalent to the output of float('inf').

Syntax

PYTHON
math.inf