Contents

.>(_:_:)

Pointwise compare greater than.

Declaration

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

Discussion

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

Equivalent to:

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