SIMD module

bitcast

procedureextension2 overloadssince 0.31.0Source

The same bytes seen as another vector type of the same size.

bitcast :: ($V: Type, a: Vector($T, $N)) -> V

Parameters

$V: Type
a: Vector($T, $N)

Returns

V
bitcast :: ($V: Type, mask: Mask($T, $N)) -> V

A mask's lanes as a vector of the same size: all-ones lanes and zero lanes.

Parameters

$V: Type
mask: Mask($T, $N)

Returns

V

See also