max(_:_:)

Vector-scalar maximum. Each component of the result is the maximum of the corresponding element of the input vector and the scalar.

Declaration

func max(_ vector: simd_half8, _ scalar: Float16) -> simd_half8