abs(_:)

Elementwise absolute value of a vector. The result is a vector of the same length with all elements positive.

Declaration

func abs(_ x: simd_half4) -> simd_half4