次の方法で共有


log 関数 (fast_math)

e を底とする引数の対数を計算します。

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

パラメーター

  • _X
    浮動小数点値

戻り値

引数のベース e 対数を返します

必要条件

ヘッダー: amp_math.h

名前空間: Concurrency::fast_math

参照

関連項目

Concurrency::fast_math 名前空間