init(_:rounding:)
Creates a new vector from the given vector, rounding the given vector’s of elements using the specified rounding rule.
Declaration
init<Other>(_ other: SIMD64<Other>, rounding rule: FloatingPointRoundingRule = .towardZero) where Other : BinaryFloatingPoint, Other : SIMDScalarParameters
- other:
The vector to convert.
- rule:
The round rule to use when converting elements of
other.The default is.towardZero.