SIMD module

abs

procedureextensionsince 0.31.0Source

The absolute value of each lane. The most negative integer stays itself, as it has no positive counterpart.

abs :: (a: Vector($T, $N)) -> Vector(T, N)

Parameters

a: Vector($T, $N)

Returns

Vector(T, N)

See also