Initializerswift 6.0.1Swift
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.
Other members in extension
Type members
init<Other>(SIMD8<Other>, rounding: FloatingPointRoundingRule
) Creates a new vector from the given vector, rounding the given vector’s of elements using the specified rounding rule.
init<Other>(clamping: SIMD8<Other>
) Creates a new vector from the given vector, clamping the values of the given vector’s elements if necessary.