다음을 통해 공유


sincos Function

Calculates sine and cosine value of _X

inline void sincos(
   float _X,
   _Out_ float * _S,
   _Out_ float * _C
) restrict(amp);
inline void sincos(
   double _X,
   _Out_ double * _S,
   _Out_ double * _C
) restrict(amp);

Parameters

  • _X
    Floating-point value

  • _S
    Returns the sine value of _X

  • _C
    Returns the cosine value of _X

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace