Contents

clamp(_:min:max:)

Returns each element in a vector clamped to a specified range.

Declaration

func clamp(_ x: SIMD4<Double>, min: Double, max: Double) -> SIMD4<Double>

See Also

Common Functions