math.Sqrt / Pow / Max
Square root, powers, and maximum (math package).
Syntax
math.Sqrt(x) (import "math")
Description
Functions in the math package work with float64.
Example
Loading editor…
Expected output
12 1024
When to use?
Geometry, exponential calculations.