Const

pi : F64

The circle constant π, defined as the ratio of a circle's diameter to the circle's circumference.

π : F64

An alias for pi.

tau : F64

The other circle constant τ, defined as the ratio of a circle's radius to the circle's circumference.

τ : F64

An alias for tau.

e : F64

Euler's number, the base of the natural logarithm.

: F64

An alias for e.

goldenRatio : F64

The golden ratio, defined as φ = (1 + √5)/2, and satisfies the quadratic equation φ² = φ + 1.

φ : F64

An alias for goldenRatio.

sqrt2 : F64

The square root of two (√2).