trunc(_:)

Each element of the result is the closest integral value with magnitude less than or equal to that of the corresponding element of the input.

Declaration

func trunc(_ x: simd_half16) -> simd_half16