Skip to content

sqrt

In std/math.

fn sqrt(self: Float) : Float

The square root of self: sqrt(2.0f) is 1.4142135623730951. A result that is not a finite number, as for a negative self, is an evaluation error.