SIMD module

sqrt

procedureextension3 overloadssince 0.31.0Source
sqrt :: (a: Vector($T, $N)) -> Vector(T, N)

Parameters

a: Vector($T, $N)

Returns

Vector(T, N)
sqrt :: (x: float32) -> float32

The square root instruction, for the lanes of sqrt. Declared here so that importing SIMD does not load all of Math.

Parameters

x: float32

Returns

float32
sqrt :: (x: float64) -> float64

Parameters

x: float64

Returns

float64

See also