Constants

.E

math.E : num

Represents Euler's number, the base of natural logarithms (e), approximately 2.718.

.LN2

math.LN2 : num

Natural logarithm of 2, approximately 0.693.

.LN10

math.LN10 : num

Natural logarithm of 10, approximately 2.303.

.LOG2E

math.LOG2E : num

Base 2 logarithm of E, approximately 1.443.

.LOG10E

math.LOG10E : num

Base 10 logarithm of E, approximately 0.434.

.SQRT2

math.SQRT2 : num

Square root of 2, approximately 1.414.

.PI

math.PI : num

Represent the ratio of the circumference of a circle to its diameter, approximately 3.14159.

.NAN

math.NAN : num

Not a number, equivalent to value of expression 0 / 0.

.INF

math.INF : num

Infinite number, equivalent to value of expression 1 / 0.

Last updated