content/flux/v0/stdlib/math/_index.md
The math package provides basic constants and mathematical functions.
Import the math package:
import "math"
math.e
math.ln10
math.ln2
math.log10e
math.log2e
math.maxfloat
math.maxint
math.maxuint
math.minint
math.phi
math.pi
math.smallestNonzeroFloat
math.sqrt2
math.sqrte
math.sqrtphi
math.sqrtpi
math.e).math.e).2^63 - 1).2^64 - 1).-2^63).math.e).math.phi), the Golden Ratio.{{< children type="functions" show="pages" >}}