log 函数

计算参数以 e 为底的对数

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

参数

  • _X
    浮点值

返回值

返回参数以 e 为底的对数

要求

**头文件:**amp_math.h

**命名空间:**Concurrency::precise_math

请参见

参考

Concurrency::precise_math 命名空间