Contents

trunc(_:)

Returns the integer truncation of each element in a vector of single-precision values.

Declaration

static func trunc<U>(_ vector: U) -> [Float] where U : AccelerateBuffer, U.Element == Float

See Also

Array-Oriented Arithmetic and Auxiliary Functions