Skip to main content

module

limit

Provides interfaces to query numeric various numeric properties of types.

You can import these APIs from the math package. For example:

from math.limit import inf

Functions

  • inf: Gets a +inf value for the given dtype.
  • neginf: Gets a -inf value for the given dtype.
  • max_finite: Returns the maximum finite value of type.
  • min_finite: Returns the minimum (lowest) finite value of type.