다음을 통해 공유


cospi Function

Calculates the cosine value of pi * _X

inline float cospi(
   float _X
) restrict(amp);
inline double cospi(
   double _X
) restrict(amp);

Parameters

  • _X
    Floating-point value

Return Value

Returns the cosine value of pi * _X

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace