次の方法で共有


cosf 関数 (fast_math)

引数の余弦を計算します。

inline float cosf(
   float _X
) restrict(amp);

パラメーター

  • _X
    浮動小数点値

戻り値

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

必要条件

ヘッダー: amp_math.h

名前空間: Concurrency::fast_math

参照

関連項目

Concurrency::fast_math 名前空間