Skip to content

Sqrt

Sqrt applies the square-root function to its input.

y = sqrt(x)

Port Direction Type
0 Input f32 or f64 scalar, or a fixed-size array of floats
0 Output Same type as input

Arrays are processed element by element; a negative floating-point input produces NaN.

None.

For input x = 9.0, the output is y = 3.0.