Contents

.<(_:_:)

Pointwise compare less than.

Declaration

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

Discussion

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

Equivalent to:

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