scalbn 函数

使用 _X 以 FLT_RADIX 即幂运算 _Y

inline float scalbn(
   float _X,
   int _Y
) restrict(amp);
inline double scalbn(
   double _X,
   int _Y
) restrict(amp);

参数

  • _X
    浮点值

  • _Y
    整数值

返回值

返回 _X (* FLT_RADIX ^ _Y)

要求

标题: amp_math.h

命名空间: 并发:: precise_math

请参见

参考

Concurrency::precise_math 命名空间