<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/integer-to-double-precision-floating-point-conversion",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Integer to double-precision floating-point conversion"
}
-->

# Integer to double-precision floating-point conversion

Perform element-wise integer to double-precision floating-point conversion.

## Topics

### 8-bit integer to floating point conversion

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-7479i)

Returns a vector of floating-point values converted from signed 8-bit integer values.

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-8jgqh)

Returns a vector of floating-point values converted from unsigned 8-bit integer values.

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-3jcmt)

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

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-1jwgk)

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

[`extern void vDSP_vflt8D(const char *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vflt8D)

Converts a vector of signed 8-bit integers to double-precision floating-point values.

[`extern void vDSP_vfltu8D(const unsigned char *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vfltu8D)

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

### 16-bit integer to floating point conversion

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-5os5n)

Returns a vector of floating-point values converted from signed 16-bit integer values.

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-2xoiz)

Returns a vector of floating-point values converted from unsigned 16-bit integer values.

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-3j3tb)

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

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-4sj10)

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

[`extern void vDSP_vflt16D(const short *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vflt16D)

Converts a vector of signed 16-bit integers to double-precision floating-point values.

[`extern void vDSP_vfltu16D(const unsigned short *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vfltu16D)

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

### 32-bit integer to floating point conversion

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-8b7ni)

Returns a vector of floating-point values converted from signed 32-bit integer values.

[`static func integerToFloatingPoint<T, U>(T, floatingPointType: U.Type) -> [U]`](/documentation/Accelerate/vDSP/integerToFloatingPoint(_:floatingPointType:)-23d97)

Returns a vector of floating-point values converted from unsigned 32-bit integer values.

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-7itb5)

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

[`static func convertElements<U, V>(of: U, to: inout V)`](/documentation/Accelerate/vDSP/convertElements(of:to:)-4es14)

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

[`extern void vDSP_vflt32D(const int *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vflt32D)

Converts a vector of signed 32-bit integers to double-precision floating-point values.

[`extern void vDSP_vfltu32D(const unsigned int *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, vDSP_Length __N);`](/documentation/Accelerate/vDSP_vfltu32D)

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



---

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)