SIMD module

convert

procedureextensionsince 0.31.0Source

Each lane converted with a cast: floats to integers truncate toward zero, integers to narrower integers keep the low bits.

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

Parameters

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

Returns

V

See also