Contents

.<(_:_:)

Pointwise compare less than.

Declaration

static func .< (a: Scalar, b: SIMD16<Scalar>) -> SIMDMask<SIMD16<Scalar>.MaskStorage>

Discussion

Each lane of the result is true if a is less than the corresponding lane of b, and false otherwise.

Equivalent to:

var result = SIMDMask<MaskStorage>()
for i in 0..<16 {
  result[i] = (a < b[i])
}