Skip to main content
Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: math · Entries: 4

math.e (constant)

Definition Euler’s number: the base of the natural logarithm, 2.718281828459045. Type const float Example

math.phi (constant)

Definition The golden ratio: the positive number whose square is one greater than itself, 1.618033988749895. Type const float Example

math.pi (constant)

Definition Archimedes’ constant: the ratio of a circle’s circumference to its diameter, 3.141592653589793. Type const float Example

math.rphi (constant)

Definition The golden ratio conjugate: the reciprocal of the golden ratio, 0.6180339887498948. Type const float Example