Constants#

ivy.e = 2.718281828459045#

IEEE 754 floating-point representation of Euler’s constant.

ivy.pi = 3.141592653589793#

IEEE 754 floating-point representation of the mathematical constant π.

ivy.nan = nan#

IEEE 754 floating-point representation of Not a Number (NaN).

ivy.inf = inf#

IEEE 754 floating-point representation of (positive) infinity.

ivy.newaxis = None#

An alias for None which is useful for indexing arrays.

This should have hopefully given you an overview of the constants submodule, if you have any questions, please feel free to reach out on our discord in the constants channel!