<!--
{
  "availability" : [

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

# simd_long8

A vector of eight 64-bit signed integer elements.

```
typealias simd_long8 = SIMD8<simd_long1>
```

## Topics

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

[`simd_make_long8(_:)`](/documentation/simd/simd_make_long8(_:)-7pzt7)

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

[`simd_make_long8(_:)`](/documentation/simd/simd_make_long8(_:)-7netg)

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

[`simd_make_long8(_:)`](/documentation/simd/simd_make_long8(_:)-7wvxt)

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

[`simd_make_long8(_:)`](/documentation/simd/simd_make_long8(_:)-6saal)

Returns a new vector from the specified vector.

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

Returns a new vector from the specified vectors.

[`vector8`](/documentation/simd/vector8-6qxy0)

Returns a new vector from the specified vectors.

[`simd_make_long8_undef(_:)`](/documentation/simd/simd_make_long8_undef(_:)-5uowh)

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

[`simd_make_long8_undef(_:)`](/documentation/simd/simd_make_long8_undef(_:)-5y3qm)

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

[`simd_make_long8_undef(_:)`](/documentation/simd/simd_make_long8_undef(_:)-59t0j)

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

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

[`simd_long_rte`](/documentation/simd/simd_long_rte-90anl)

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

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

[`simd_make_long8(_:)`](/documentation/simd/simd_make_long8(_:)-2kqft)

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

[`simd_make_long8_undef(_:)`](/documentation/simd/simd_make_long8_undef(_:)-9h1v1)

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

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

[`simd_long`](/documentation/simd/simd_long-93qrw)

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

[`simd_long`](/documentation/simd/simd_long-93gss)

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

[`simd_long`](/documentation/simd/simd_long-93vu4)

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

[`simd_long`](/documentation/simd/simd_long-93lpo)

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

[`simd_long`](/documentation/simd/simd_long-93sno)

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

[`simd_long`](/documentation/simd/simd_long-93iok)

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

[`simd_long`](/documentation/simd/simd_long-93ti0)

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

[`simd_long`](/documentation/simd/simd_long-93jiw)

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

[`simd_long`](/documentation/simd/simd_long-93hmw)

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

[`simd_long`](/documentation/simd/simd_long-93h2w)

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-6s8z2)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6rz5a)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6sdu6)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6s426)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6s5qq)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6rvv6)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6s53e)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6rux6)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6ry46)

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

[`simd_long_sat`](/documentation/simd/simd_long_sat-6rxje)

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

### Common Functions

[`simd_abs(_:)`](/documentation/simd/simd_abs(_:)-7osxw)

Returns the absolute value of each element in a vector.

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-7h5og)

Returns the absolute value of each element in a vector.

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

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(_:)-3okve)

Returns the miniumum value in a vector.

[`simd_reduce_max(_:)`](/documentation/simd/simd_reduce_max(_:)-55m7m)

Returns the maximum value in a vector.

[`simd_reduce_add(_:)`](/documentation/simd/simd_reduce_add(_:)-3b63s)

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-1z34d)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-4cbvp)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

[`simd_any(_:)`](/documentation/simd/simd_any(_:)-6pjhd)

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

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-5k6g)

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_long8`](/documentation/simd/vector_long8)



---

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)