<!--
{
  "availability" : [

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

# simd_long3

A vector of three 64-bit signed integer elements.

```
typealias simd_long3 = SIMD3<simd_long1>
```

## Topics

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

[`simd_make_long3(_:)`](/documentation/simd/simd_make_long3(_:)-4le1z)

Returns a new vector from the specified two-element vector, and other elements set to zero.

[`simd_make_long3(_:)`](/documentation/simd/simd_make_long3(_:)-4osz8)

Returns a new vector from the specified vector.

[`simd_make_long3(_:)`](/documentation/simd/simd_make_long3(_:)-40i9p)

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

[`simd_make_long3(_:)`](/documentation/simd/simd_make_long3(_:)-567hd)

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

[`simd_make_long3_undef(_:)`](/documentation/simd/simd_make_long3_undef(_:)-8anf9)

Returns a new vector from the specified two-element vector, and other elements undefined.

### Conversion to Signed 64-Bit (Round Half to Even) Functions

[`simd_long_rte`](/documentation/simd/simd_long_rte-83sbc)

Returns a new three-element vector by rounding halves to the nearest even value.

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

[`simd_make_long3(_:)`](/documentation/simd/simd_make_long3(_:)-1n0vi)

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

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

Returns a new vector from the specified scalar values.

[`vector3`](/documentation/simd/vector3-3pmc2)

Returns a new vector from the specified scalar values.

[`simd_make_long3_undef(_:)`](/documentation/simd/simd_make_long3_undef(_:)-4ehx)

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

### Functions to Create Three-Element Vectors From Combinations of Vectors and Scalar Values

[`simd_make_long3(_:_:)`](/documentation/simd/simd_make_long3(_:_:)-3zz23)

Returns a new vector from a scalar value and a vector.

[`simd_make_long3(_:_:)`](/documentation/simd/simd_make_long3(_:_:)-36pz0)

Returns a new vector from a vector and a scalar value.

[`vector3`](/documentation/simd/vector3-6gwfj)

Returns a new vector from a vector and a scalar value.

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

[`simd_long`](/documentation/simd/simd_long-7iv6)

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

[`simd_long`](/documentation/simd/simd_long-7936)

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

[`simd_long`](/documentation/simd/simd_long-7dya)

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

[`simd_long`](/documentation/simd/simd_long-740y)

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

[`simd_long`](/documentation/simd/simd_long-7kye)

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

[`simd_long`](/documentation/simd/simd_long-7aza)

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

[`simd_long`](/documentation/simd/simd_long-7miu)

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

[`simd_long`](/documentation/simd/simd_long-7ccm)

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

[`simd_long`](/documentation/simd/simd_long-7aju)

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

[`simd_long`](/documentation/simd/simd_long-79xy)

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_long_sat`](/documentation/simd/simd_long_sat-5ov8p)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p5gp)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5oqa1)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p05l)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5oscx)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p28h)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5oqsr)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p0mj)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p3tb)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-5p3aj)

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

### Common Functions

[`simd_abs(_:)`](/documentation/simd/simd_abs(_:)-8d3rx)

Returns the absolute value of each element in a vector.

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-6yqku)

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

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-1ikxk)

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(_:)-45zbv)

Returns the miniumum value in a vector.

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

Returns the maximum value in a vector.

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

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-3a034)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-2hury)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

[`simd_any(_:)`](/documentation/simd/simd_any(_:)-698ng)

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

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-9hl4)

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_long3`](/documentation/simd/vector_long3)



---

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)