Swift Standard Library Functions

This chapter describes the global functions defined in the Swift standard library.

Topics

Functions

func all<Storage>(SIMDMask<Storage>) -> Bool

True if every lane of mask is true.

func any<Storage>(SIMDMask<Storage>) -> Bool

True if any lane of mask is true.

func pointwiseMax<T>(T, T) -> T

The lanewise maximum of two vectors.

func pointwiseMax<T>(T, T) -> T

The lanewise maximum of two vectors.

func pointwiseMin<T>(T, T) -> T

The lanewise minimum of two vectors.

func pointwiseMin<T>(T, T) -> T

The lanewise minimum of two vectors.