次の方法で共有


floor 関数 (fast_math)

引数の切り捨てを計算します。

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

パラメーター

  • _X
    浮動小数点値

戻り値

引数の切り捨て値を返します。

必要条件

ヘッダー: amp_math.h

名前空間: Concurrency::fast_math

参照

関連項目

Concurrency::fast_math 名前空間