Function

vDSP_vfltsm24

Converts and scales signed 24-bit integer values to single-precision floating-point values.

Declaration

void vDSP_vfltsm24(const vDSP_int24 *__A, vDSP_Stride __IA, const float *__B, float *__C, vDSP_Stride __IC, vDSP_Length __N);

Parameters

__A

Signed 24-bit integer input vector.

__IA

Stride for A.

__B

Pointer to a floating-point scaling factor.

__C

single-precision floating-point output vector.

__IC

Stride for C.

__N

The number of values to convert.

Discussion

Converts the signed 24-bit integer values pointed to by A to single-precision floating-point values, scales the resulting values using the scaling factor *B, and places the final results in the array pointed to by C, as described by the following pseudocode:

    for (n = 0; n < N; ++n)
        C[n*IC] = *B * (float)A[n*IA];

See Also

Floating Point to 24-Bit Integer Conversion

vDSP_vsmfix24

Scales and converts single-precision floating-point values to signed 24-bit integer values.

vDSP_vsmfixu24

Scales and converts single-precision floating-point values to unsigned 24-bit integer values.

vDSP_vflt24

Converts signed 24-bit integer values to single-precision floating-point values.

vDSP_vfltu24

Converts unsigned 24-bit integer values to single-precision floating-point values.

vDSP_vfltsmu24

Converts and scales unsigned 24-bit integer values to single-precision floating-point values.

vDSP_uint24

A data structure that holds a 24-bit unsigned integer value.

vDSP_int24

A data structure that holds a 24-bit signed integer value.