Contents

sincospi(_:)

Returns the sine and cosine of each element in a vector multiplied by pi.

Declaration

func sincospi(_ x: simd_float16) -> (sin: simd_float16, cos: simd_float16)

Parameters

  • x:

    The source vector.

Return Value

A two-element tuple. The first element contains the sines, and the second element contains the cosines.

See Also

Trigonometric Functions