次の方法で共有


cos 関数

引数のコサインを計算します

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

パラメーター

  • _X
    浮動小数点値

戻り値

引数値のコサインを返します

必要条件

ヘッダー: amp_math.h

名前空間: の同時実行:: precise_math

参照

関連項目

Concurrency::precise_math 名前空間