sincospi(_:)
Returns the sine and cosine of each element in a vector multiplied by pi.
Declaration
func sincospi(_ x: simd_float4) -> (sin: simd_float4, cos: simd_float4)Parameters
- x:
The source vector.
Return Value
A two-element tuple. The first element contains the sines, and the second element contains the cosines.