std::math - Mathematical ops¶
func abs¶
func abs(T): T
where T: number
Absolute value
const pi32¶
const pi32: Float32 = 3.1415927
The mathematical constant π as a 32-bit float.
const pi64¶
const pi64: Float64 = 3.141592653589793
The mathematical constant π as a 64-bit float.
func pow¶
func pow(value: T, exponent: T): T
where T: Int64 | Float64
Raises value to the power of exponent.