Scales and converts single-precision floating-point values to unsigned 24-bit integer values.
- macOS 10.9+
Single-precision floating-point input vector.
Pointer to a floating-point scaling factor.
Unsigned 24-bit integer output vector.
The number of values to convert.
This function scales vector
A by the scalar
*B and converts each resulting value to an unsigned 24-bit integer, placing the results in
C. Values (after scaling) that are outside the range that can be represented by unsigned 24-bit integers are clamped to the largest or smallest representable values.
This function performs the following operations:
In this pseudocode,
UINT24 is equal to
2^24 - 1.