<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/simd_ulong2",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "c:@T@simd_ulong2"
  },
  "title" : "simd_ulong2"
}
-->

# simd_ulong2

A vector of two 64-bit unsigned integer elements.

```
typealias simd_ulong2 = SIMD2<simd_ulong1>
```

## Topics

### Functions to Create Two-Element Vectors From Other Vectors

[`simd_make_ulong2(_:)`](/documentation/simd/simd_make_ulong2(_:)-oc6t)

Returns a new vector from the specified vector.

[`simd_make_ulong2(_:)`](/documentation/simd/simd_make_ulong2(_:)-rr3e)

Returns a new vector by truncating the specified three-element vector.

[`simd_make_ulong2(_:)`](/documentation/simd/simd_make_ulong2(_:)-ulyf)

Returns a new vector by truncating the specified four-element vector.

[`simd_make_ulong2(_:)`](/documentation/simd/simd_make_ulong2(_:)-17hvf)

Returns a new vector by truncating the specified eight-element vector.

### Functions to Create Two-Element Vectors From Scalar Values

[`simd_make_ulong2(_:)`](/documentation/simd/simd_make_ulong2(_:)-14omj)

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

[`simd_make_ulong2(_:_:)`](/documentation/simd/simd_make_ulong2(_:_:))

Returns a new vector from the specified scalar values.

[`vector2`](/documentation/simd/vector2-6n9bx)

Returns a new vector from the specified scalar values.

[`simd_make_ulong2_undef(_:)`](/documentation/simd/simd_make_ulong2_undef(_:))

Returns a new vector with the first element set to a scalar value, and other elements undefined.

### Functions to Create Two-Element Vectors From Vectors of Other Types

[`simd_ulong`](/documentation/simd/simd_ulong-1r8xg)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rir8)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rdv8)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rnp0)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rbpo)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rlsc)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rb2o)

Returns a new vector from the specified vector of 64-bit, signed integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rkuo)

Returns a new vector from the specified vector of 64-bit, unsigned integer elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1rhpk)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

[`simd_ulong`](/documentation/simd/simd_ulong-1ri80)

Returns a new vector from the specified vector of 64-bit, floating-point elements.

### Functions to Perform Saturating Conversion From Vectors of Other Types

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lmym)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lwse)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lrzy)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1m1q6)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1ll2i)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lv3e)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1llwi)

Returns a new vector from the specified vector of 64-bit, signed integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lvtu)

Returns a new vector from the specified vector of 64-bit, unsigned integer elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lxxa)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

[`simd_ulong_sat`](/documentation/simd/simd_ulong_sat-1lyhe)

Returns a new vector from the specified vector of 64-bit, floating-point elements.

### Common Functions

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-5y5rd)

Returns each element in a vector clamped to a specified range.

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-80jzi)

Returns true if every element in a vector is exactly equal to the corresponding element in a second vector, and otherwise returns false.

### Reduce Functions

[`simd_reduce_min(_:)`](/documentation/simd/simd_reduce_min(_:)-49qq4)

Returns the miniumum value in a vector.

[`simd_reduce_max(_:)`](/documentation/simd/simd_reduce_max(_:)-4kgd8)

Returns the maximum value in a vector.

[`simd_reduce_add(_:)`](/documentation/simd/simd_reduce_add(_:)-2q2jq)

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-9be6)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-86a4g)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

[`simd_any(_:)`](/documentation/simd/simd_any(_:)-64g1r)

[`simd_all(_:)`](/documentation/simd/simd_all(_:)-1d8u9)

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-886h0)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element in the third parameter.

### Alternative Type Alias

[`vector_ulong2`](/documentation/simd/vector_ulong2)



---

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)