logb 函数

用浮点格式提取_X的指数作为有符号整数值

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

参数

  • _X
    浮点值

返回值

返回_X有符号的指数

要求

**头文件:**amp_math.h

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

请参见

参考

Concurrency::precise_math 命名空间