Macaulay2 » Documentation
Packages » Python » PythonObject » isInfinite(PythonObject)
next | previous | forward | backward | up | index | toc

isInfinite(PythonObject) -- whether a Python object is infinite

Description

This function returns true when x is an infinite number.

i1 : isInfinite toPython infinity

o1 = true
i2 : isInfinite toPython 3

o2 = false

See also

Ways to use this method:


The source of this document is in Python/doc/floating-point.m2:180:0.