<!--
{
  "availability" : [

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

# simd_float8

A vector of eight 32-bit floating-point elements.

```
typealias simd_float8 = SIMD8<Float>
```

## Topics

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

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-9l23p)

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

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-9i5x2)

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

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-6v9s)

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

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-907gf)

Returns a new vector from the specified vector.

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-9z6aw)

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

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

Returns a new vector from the specified vectors.

[`vector8`](/documentation/simd/vector8-9dpo5)

Returns a new vector from the specified vectors.

[`simd_make_float8_undef(_:)`](/documentation/simd/simd_make_float8_undef(_:)-9njgo)

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

[`simd_make_float8_undef(_:)`](/documentation/simd/simd_make_float8_undef(_:)-9qfif)

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

[`simd_make_float8_undef(_:)`](/documentation/simd/simd_make_float8_undef(_:)-8sol)

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

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

[`simd_make_float8(_:)`](/documentation/simd/simd_make_float8(_:)-6hx2j)

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

[`simd_make_float8_undef(_:)`](/documentation/simd/simd_make_float8_undef(_:)-8cuk5)

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_float`](/documentation/simd/simd_float-1pfvj)

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

[`simd_float`](/documentation/simd/simd_float-1ppun)

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

[`simd_float`](/documentation/simd/simd_float-1pazj)

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

[`simd_float`](/documentation/simd/simd_float-1pkyn)

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

[`simd_float`](/documentation/simd/simd_float-1phqj)

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

[`simd_float`](/documentation/simd/simd_float-1prpn)

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

[`simd_float`](/documentation/simd/simd_float-1pgbl)

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

[`simd_float`](/documentation/simd/simd_float-1pq5d)

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

[`simd_float`](/documentation/simd/simd_float-1poa9)

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

[`simd_float`](/documentation/simd/simd_float-1pno1)

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

### Common Functions

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

Returns the absolute value of each element in a vector.

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-14mzm)

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

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-7of37)

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

[`simd_fract(_:)`](/documentation/simd/simd_fract(_:)-3jbrt)

Returns the fractional part of each element in a vector.

[`simd_sign(_:)`](/documentation/simd/simd_sign(_:)-7hbzz)

Returns the sign of each element in a vector.

[`simd_step(_:_:)`](/documentation/simd/simd_step(_:_:)-96e50)

Returns zero for each element in a vector less than a specified edge, and otherwise returns one.

### Reduce Functions

[`simd_reduce_min(_:)`](/documentation/simd/simd_reduce_min(_:)-3odum)

Returns the miniumum value in a vector.

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

Returns the maximum value in a vector.

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

Returns the sum of all elements in a vector.

### Interpolation Functions

[`simd_smoothstep(_:_:_:)`](/documentation/simd/simd_smoothstep(_:_:_:)-845yk)

Returns an element-wise smoothly interpolated value between two vectors.

[`simd_mix(_:_:_:)`](/documentation/simd/simd_mix(_:_:_:)-4c4kn)

Returns an element-wise linearly interpolated value between two vectors.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-7n539)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-6m7z0)

Returns the maximum value of each element in a vector.

### Reciprocal and Reciprocal Square Root Functions

[`simd_recip(_:)`](/documentation/simd/simd_recip(_:)-989se)

Returns the reciprocal of each element in a vector.

[`simd_fast_recip(_:)`](/documentation/simd/simd_fast_recip(_:)-16fz3)

Returns the fast reciprocal of each element in a vector.

[`simd_precise_recip(_:)`](/documentation/simd/simd_precise_recip(_:)-74deu)

Returns the precise reciprocal of each element in a vector.

[`simd_rsqrt(_:)`](/documentation/simd/simd_rsqrt(_:)-1oj3u)

Returns the reciprocal square root of each element in a vector.

[`simd_fast_rsqrt(_:)`](/documentation/simd/simd_fast_rsqrt(_:)-923f0)

Returns the fast reciprocal square root of each element in a vector.

[`simd_precise_rsqrt(_:)`](/documentation/simd/simd_precise_rsqrt(_:)-1hqkg)

Returns the precise reciprocal square root of each element in a vector.

### Exponential and Logarithmic Functions

[`exp(_:)`](/documentation/simd/exp(_:)-1pg0i)

Returns *e* raised to the power of each element in a vector.

[`exp2(_:)`](/documentation/simd/exp2(_:)-1n4s0)

Returns 2 raised to the power of each element in a vector.

[`exp10(_:)`](/documentation/simd/exp10(_:)-8kkzs)

Returns 10 raised to the power of each element in a vector.

[`expm1(_:)`](/documentation/simd/expm1(_:)-70odp)

Returns *eˣ-1* for each element in a vector.

[`log(_:)`](/documentation/simd/log(_:)-5bs8h)

Returns the natural logarithm of each element in a vector.

[`log2(_:)`](/documentation/simd/log2(_:)-939d1)

Returns the base 2 logarithm of each element in a vector.

[`log10(_:)`](/documentation/simd/log10(_:)-94fwu)

Returns the base 10 logarithm of each element in a vector.

[`log1p(_:)`](/documentation/simd/log1p(_:)-7f7d8)

Returns *log(1+x)* of each element in a vector.

### Geometry Functions

[`simd_dot`](/documentation/simd/simd_dot-7390g)

Returns the dot product of two vectors.

[`simd_project`](/documentation/simd/simd_project-8htqe)

Returns the first vector projected onto the second vector.

[`simd_fast_project`](/documentation/simd/simd_fast_project-98hyq)

Returns the fast projected vector.

[`simd_precise_project`](/documentation/simd/simd_precise_project-33evf)

Returns the precise projected vector.

[`simd_normalize`](/documentation/simd/simd_normalize-xs3)

Returns a vector pointing in the same direction of the supplied vector, with a length of 1.

[`simd_fast_normalize`](/documentation/simd/simd_fast_normalize-8x4o0)

Returns the fast normalized vector.

[`simd_precise_normalize`](/documentation/simd/simd_precise_normalize-623uc)

Returns the precise normalized vector.

### Vector Norm Functions

[`simd_norm_one`](/documentation/simd/simd_norm_one-fhar)

Returns the sum of the absolute values of a vector.

[`simd_norm_inf`](/documentation/simd/simd_norm_inf-9mawm)

Returns the maximum absolute value of a vector.

### Length and Distance Functions

[`simd_length`](/documentation/simd/simd_length-32wmj)

Returns the length of a vector.

[`simd_fast_length`](/documentation/simd/simd_fast_length-5utao)

Returns the fast length of a vector.

[`simd_precise_length`](/documentation/simd/simd_precise_length-67kmm)

Returns the precise length of a vector.

[`simd_length_squared`](/documentation/simd/simd_length_squared-3xa1d)

Returns the square of the length of a vector.

[`simd_distance`](/documentation/simd/simd_distance-8i534)

Returns the distance between two vectors.

[`simd_fast_distance`](/documentation/simd/simd_fast_distance-1ml9e)

Returns the fast distance between two vectors.

[`simd_precise_distance`](/documentation/simd/simd_precise_distance-9w7rx)

Returns the precise distance between two vectors.

[`simd_distance_squared`](/documentation/simd/simd_distance_squared-7gp4v)

Returns the square of the distance between two vectors.

### Hyperbolic Functions

[`acosh(_:)`](/documentation/simd/acosh(_:)-5ye64)

Returns the inverse hyperbolic cosine of each element in a vector.

[`asinh(_:)`](/documentation/simd/asinh(_:)-1uw5q)

Returns the inverse hyperbolic sine of each element in a vector.

[`atanh(_:)`](/documentation/simd/atanh(_:)-95265)

Returns the inverse hyperbolic tangent of each element in a vector.

[`cosh(_:)`](/documentation/simd/cosh(_:)-6rb1l)

Returns the hyperbolic cosine of each element in a vector.

[`sinh(_:)`](/documentation/simd/sinh(_:)-43ijd)

Returns the hyperbolic sine of each element in a vector.

[`tanh(_:)`](/documentation/simd/tanh(_:)-tpg5)

Returns the hyperbolic tangent of each element in a vector.

### Logic Functions

[`simd_select(_:_:_:)`](/documentation/simd/simd_select(_:_:_:)-5h243)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element’s high-order bit in the mask.

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-66uzh)

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

### Math Functions

[`cbrt(_:)`](/documentation/simd/cbrt(_:)-3f2k2)

Returns the cube root of each element in a vector.

[`erf(_:)`](/documentation/simd/erf(_:)-5vzab)

Returns the error function for each element in a vector.

[`erfc(_:)`](/documentation/simd/erfc(_:)-1csse)

Returns the complementary error function for each element in a vector.

[`fma(_:_:_:)`](/documentation/simd/fma(_:_:_:)-49crk)

Returns the multiply-add result for corresponding elements in three vectors.

[`fmod(_:_:)`](/documentation/simd/fmod(_:_:)-8fmuq)

Returns the modulus after dividing each element in a vector by the corresponding element in a second vector.

[`hypot(_:_:)`](/documentation/simd/hypot(_:_:)-47t8e)

Returns the hypotenuse of a right-angled triangle with the sides that are adjacent to the right angle that two vectors define.

[`lgamma(_:)`](/documentation/simd/lgamma(_:)-9g2rk)

Returns the natural logarithm of the absolute value of the gamma function of each element in a vector.

[`nextafter(_:_:)`](/documentation/simd/nextafter(_:_:)-sc7d)

Returns the next representable value of each element in a vector in the direction of the corresponding element in a second vector.

[`pow(_:_:)`](/documentation/simd/pow(_:_:)-nk2t)

Returns each element in a vector raised to the power of the corresponding element in a second vector.

[`remainder(_:_:)`](/documentation/simd/remainder(_:_:)-7l2wd)

Returns the remainder after dividing each element in an array by the corresponding element in a second array of double-precision values.

[`round(_:)`](/documentation/simd/round(_:)-1ffcx)

Returns each element in a vector rounded to the nearest integer.

[`simd_muladd(_:_:_:)`](/documentation/simd/simd_muladd(_:_:_:)-3v5t5)

Returns the multiply-add result for corresponding elements in three vectors.

[`tgamma(_:)`](/documentation/simd/tgamma(_:)-6tafl)

Returns the gamma function for each element in a vector.

### Trigonometric Functions

[`acos(_:)`](/documentation/simd/acos(_:)-7zw9c)

Returns the arccosine of each element in a vector.

[`asin(_:)`](/documentation/simd/asin(_:)-476k0)

Returns the arcsine of each element in a vector.

[`atan(_:)`](/documentation/simd/atan(_:)-al43)

Returns the arctangent of each element in a vector.

[`atan2(_:_:)`](/documentation/simd/atan2(_:_:)-52zvp)

Returns the arctangent of each pair of corresponding elements in two vectors.

[`cos(_:)`](/documentation/simd/cos(_:)-6spt8)

Returns the cosine of each element in a vector.

[`cospi(_:)`](/documentation/simd/cospi(_:)-mwoe)

Returns the cosine of each element in a vector multiplied by pi.

[`sin(_:)`](/documentation/simd/sin(_:)-8n720)

Returns the sine of each element in a vector.

[`sinpi(_:)`](/documentation/simd/sinpi(_:)-5sfds)

Returns the sine of each element in a vector multiplied by pi.

[`sincos(_:)`](/documentation/simd/sincos(_:)-26uzx)

Returns the sine and cosine of each element in a vector.

[`sincospi(_:)`](/documentation/simd/sincospi(_:)-3cme4)

Returns the sine and cosine of each element in a vector multiplied by pi.

[`tan(_:)`](/documentation/simd/tan(_:)-6t9p5)

Returns the tangent of each element in a vector.

[`tanpi(_:)`](/documentation/simd/tanpi(_:)-5w53i)

Returns the tangent of each element in a vector multiplied by pi.

### Classification Functions

[`isfinite(_:)`](/documentation/simd/isfinite(_:)-285ek)

Returns true for each element that is finite in a vector.

[`isinf(_:)`](/documentation/simd/isinf(_:)-9ud2k)

Returns true for each element that is infinite in a vector.

[`isnan(_:)`](/documentation/simd/isnan(_:)-8blhp)

Returns true for each element that is not a number (NaN) in a vector.

[`isnormal(_:)`](/documentation/simd/isnormal(_:)-36pn2)

Returns true for each element that is normal in a vector.

### Alternative Type Alias

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



---

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)