Function

# vDSP_vfix8D(_:_:_:_:_:)

Converts an array of double-precision floating-point values to signed 8-bit integer values, rounding towards zero.

## Discussion

This function is the same as `vDSP_vfix8(_:_:_:_:_:)`, except for the type of vector `A`.

### Single-Vector Floating Point to 8-Bit Integer Conversion

`func vDSP_vfix8(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Int8>, vDSP_Stride, vDSP_Length)`

Converts an array of single-precision floating-point values to signed 8-bit integer values, rounding towards zero.

`func vDSP_vfixr8(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Int8>, vDSP_Stride, vDSP_Length)`

Converts an array of single-precision floating-point values to signed 8-bit integer values, rounding towards nearest integer.

`func vDSP_vfixr8D(UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Int8>, vDSP_Stride, vDSP_Length)`

Converts an array of double-precision floating-point values to signed 8-bit integer values, rounding towards nearest integer.

`func vDSP_vfixu8(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<UInt8>, vDSP_Stride, vDSP_Length)`

Converts an array of single-precision floating-point values to unsigned 8-bit integer values, rounding towards zero.

`func vDSP_vfixu8D(UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<UInt8>, vDSP_Stride, vDSP_Length)`

Converts an array of double-precision floating-point values to unsigned 8-bit integer values, rounding towards zero.

`func vDSP_vfixru8(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<UInt8>, vDSP_Stride, vDSP_Length)`

Converts an array of single-precision floating-point values to unsigned 8-bit integer values, rounding towards nearest integer.

`func vDSP_vfixru8D(UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<UInt8>, vDSP_Stride, vDSP_Length)`

Converts an array of double-precision floating-point values to unsigned 8-bit integer values, rounding towards nearest integer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.