Function

vDSP_vflt16(_:_:_:_:_:)

Converts an array of signed 16-bit integers to single-precision floating-point values.

Declaration

func vDSP_vflt16(_ __A: UnsafePointer<Int16>, _ __IA: vDSP_Stride, _ __C: UnsafeMutablePointer<Float>, _ __IC: vDSP_Stride, _ __N: vDSP_Length)

Parameters

++A

Source vector.

__IA

Source vector stride length.

__C

Destination vector.

__IC

Destination vector stride length.

__N

Number of elements in vector.

See Also

Single-Vector 16-Bit Integer to Floating Point Conversion

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit signed integers to double-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit signed integers to single-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit unsigned integers to double-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts 16-bit unsigned integers to single-precision values.

func vDSP_vflt16D(UnsafePointer<Int16>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Converts an array of signed 16-bit integers to double-precision floating-point values.

func vDSP_vfltu16(UnsafePointer<UInt16>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length)

Converts an array of unsigned 16-bit integers to single-precision floating-point values.

func vDSP_vfltu16D(UnsafePointer<UInt16>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Converts an array of unsigned 16-bit integers to double-precision floating-point values.

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.

Learn more about using Apple's beta software