Function

simd_muladd(_:_:_:)

Returns the multiply-add result for corresponding elements in three vectors.

Declaration

func simd_muladd(_ x: simd_float4, _ y: simd_float4, _ z: simd_float4) -> simd_float4

See Also

Math Functions

func ceil(SIMD4<Float>) -> SIMD4<Float>

Returns the ceiling of each element in a vector.

func floor(SIMD4<Float>) -> SIMD4<Float>

Returns the floor of each element in a vector.

func trunc(SIMD4<Float>) -> SIMD4<Float>

Returns each element in a vector rounded toward zero to the nearest integer.