Initializerswift 6.1.2Swift

init(truncatingIfNeeded:)

Creates a new vector from the given vector, truncating the bit patterns of the given vector’s elements if necessary.

init<Other>(truncatingIfNeeded other: SIMD8<Other>) where Other : FixedWidthInteger, Other : SIMDScalar

Parameters

other

The vector to convert.