---
title: ".>(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simd2/'._(_:_:)-5j9pg"
---

# .>(_:_:)

Pointwise compare greater than.

## Declaration

```swift
static func .> (a: Scalar, b: SIMD2<Scalar>) -> SIMDMask<SIMD2<Scalar>.MaskStorage>
```

## Discussion

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..<2 {   result[i] = (a > b[i]) }
