Function

vDSP_vdpsp

Vector convert double-precision to single-precision.

Declaration

void vDSP_vdpsp(const double *__A, vDSP_Stride __IA, float *__C, vDSP_Stride __IC, vDSP_Length __N);

Parameters

__A

Double-precision real input vector.

__IA

Address stride for A.

__C

Single-precision real output vector.

__IC

Address stride for C.

__N

The number of elements to process.

Discussion

Creates single-precision vector C by converting double-precision inputs from vector A. The behavior is undefined for Double values that are too large to be represented as Float values.

See Also

Single-Vector Precision Conversion

vDSP_vspdp

Vector convert single-precision to double-precision.