Constants

This page describes some of the constants used in libsemigroups_pybind11.

Constant types

class LimitMax

The type of LIMIT_MAX.

This class is the type of the constant value LIMIT_MAX, and appears as such in type annotations in libsemigroups_pybind11.

class NegativeInfinity

The type of NEGATIVE_INFINITY.

This class is the type of the constant value NEGATIVE_INFINITY, and appears as such in type annotations in libsemigroups_pybind11.

class PositiveInfinity

The type of POSITIVE_INFINITY.

This class is the type of the constant value POSITIVE_INFINITY, and appears as such in type annotations in libsemigroups_pybind11.

class Undefined

The type of UNDEFINED.

This class is the type of the constant value UNDEFINED, and appears as such in type annotations in libsemigroups_pybind11.

Constant values

LIMIT_MAX

This value represents the maximum value that certain function parameters can have. This value has type LimitMax.

LIMIT_MAX is comparable via ==, !=, <, > with any integral value, and is comparable to any other constant via == and !=, but not by < and >.

NEGATIVE_INFINITY = -∞

This value represents \(-\infty\) and has type NegativeInfinity.

NEGATIVE_INFINITY is comparable via ==, !=, <, > with any integer and with POSITIVE_INFINITY, and is comparable to any other constant via == and !=.

POSITIVE_INFINITY = +∞

This value represents \(+\infty\) and has type PositiveInfinity.

POSITIVE_INFINITY is comparable via ==, !=, <, > with any integral and with NEGATIVE_INFINITY, and is comparable to any other constant via == and !=, but not by < and >.

UNDEFINED

This value is used to indicate that a value is undefined and is of type Undefined.

This value is comparable with other constants via == and !=, and to itself by < and > but is not comparable to any other types using < or >.