Converts an array of double-precision floating-point values to unsigned 8-bit integer values, rounding towards zero.
SDKs
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Accelerate
Declaration
func vDSP_vfixu8D(_ __A: Unsafe Pointer<Double>, _ __IA: v DSP _Stride, _ __C: Unsafe Mutable Pointer<UInt8>, _ __IC: v DSP _Stride, _ __N: v DSP _Length)
Discussion
This function is the same as v
, except for the type of vector A
.