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

命名空間: Concurrency::precise_math

請參閱

參考

Concurrency::precise_math 命名空間