<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/SIMD64/.!=(_:_:)-2pyma",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s6SIMD64Vss7Float16VRszrlE3zneoiys8SIMDMaskVyABys5Int16VGGAD_AByADGtFZ"
  },
  "title" : ".!=(_:_:)"
}
-->

# .!=(_:_:)

Pointwise compare not equal to.

```
static func .!= (a: Scalar, b: SIMD64<Scalar>) -> SIMDMask<SIMD64<Scalar>.MaskStorage>
```

## Discussion

Each lane of the result is true if a is not equal to the corresponding
lane of b, and false otherwise.

Equivalent to:

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)